test_is_leap_year Subroutine

public subroutine test_is_leap_year()

Arguments

None

Calls

proc~~test_is_leap_year~2~~CallsGraph proc~test_is_leap_year~2 test_is_leap_year assertfalse assertfalse proc~test_is_leap_year~2->assertfalse asserttrue asserttrue proc~test_is_leap_year~2->asserttrue is_leap_year is_leap_year proc~test_is_leap_year~2->is_leap_year

Source Code

   subroutine test_is_leap_year()
      @assertTrue(is_leap_year(2024))
      @assertFalse(is_leap_year(2023))
      @assertFalse(is_leap_year(2022))
      @assertFalse(is_leap_year(2021))
      @assertFalse(is_leap_year(2100))
      @assertTrue(is_leap_year(2000))
   end subroutine test_is_leap_year