function test_checkLeapYear_true()
 {
     $test_LeapYearGenerator = new LeapYearGenerator();
     $input = 1996;
     $result = $test_LeapYearGenerator->checkLeapYear($input);
     $this->assertEquals(true, $result);
 }
Example #2
0
 function test_checkLeapYear_true()
 {
     //Arrange
     $test_LeapYearGenerator = new LeapYearGenerator();
     $input = 2004;
     //Act
     $result = $test_LeapYearGenerator->checkLeapYear($input);
     //Assert
     $this->assertEquals(true, $result);
 }