I did not test the condition if( date2 < date1) { return false; } on line 16, but I still got 100% test coverage on VerifyDate class it was caused by the "return false" statement being on the same line of if statement, so even without testing this condition, It was still 100%
I did not test the condition if( date2 < date1) { return false; } on line 16, but I still got 100% test coverage on VerifyDate class
it was caused by the "return false" statement being on the same line of if statement, so even without testing this condition, It was still 100%