test_is_valid_minute Subroutine

public subroutine test_is_valid_minute()

Arguments

None

Calls

proc~~test_is_valid_minute~2~~CallsGraph proc~test_is_valid_minute~2 test_is_valid_minute assertfalse assertfalse proc~test_is_valid_minute~2->assertfalse asserttrue asserttrue proc~test_is_valid_minute~2->asserttrue is_valid_minute is_valid_minute proc~test_is_valid_minute~2->is_valid_minute

Source Code

   subroutine test_is_valid_minute()
      integer, parameter :: IMIN = 0
      integer, parameter :: IMAX = 59
      integer :: i
      do i= IMIN, IMAX
         @assertTrue(is_valid_minute(i))
      end do
      @assertFalse(is_valid_minute(IMAX+1))
      @assertFalse(is_valid_minute(IMIN-1))
   end subroutine test_is_valid_minute