DaysInMonthTest
|
100%
successful |
Tests
| Test | Method name | Duration | Result |
|---|---|---|---|
| [1] FEBRUARY, 28 | getDays(Month, int)[1] | 0.045s | passed |
| [2] SEPTEMBER, 30 | getDays(Month, int)[2] | 0.002s | passed |
| [3] JANUARY, 31 | getDays(Month, int)[3] | 0.001s | passed |
| [1] FEBRUARY, 28 | getDaysV2(Month, int)[1] | 0.001s | passed |
| [2] SEPTEMBER, 30 | getDaysV2(Month, int)[2] | 0.001s | passed |
| [3] JANUARY, 31 | getDaysV2(Month, int)[3] | 0.002s | passed |
| [1] FEBRUARY, 28 | getDaysV3(Month, int)[1] | 0.002s | passed |
| [2] SEPTEMBER, 30 | getDaysV3(Month, int)[2] | 0.001s | passed |
| [3] JANUARY, 31 | getDaysV3(Month, int)[3] | 0.001s | passed |
Standard output
Checking if 2023 is a leap year Check if year is = 2023 is a leap year ? Check if year is = 2023 is a leap year ?