test_is_valid_minute Subroutine

public subroutine test_is_valid_minute()

Arguments

None

Calls

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

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