test_is_valid_millisecond Subroutine

public subroutine test_is_valid_millisecond()

Arguments

None

Calls

proc~~test_is_valid_millisecond~2~~CallsGraph proc~test_is_valid_millisecond~2 test_is_valid_millisecond assertfalse assertfalse proc~test_is_valid_millisecond~2->assertfalse asserttrue asserttrue proc~test_is_valid_millisecond~2->asserttrue is_valid_millisecond is_valid_millisecond proc~test_is_valid_millisecond~2->is_valid_millisecond

Source Code

   subroutine test_is_valid_millisecond()
      integer, parameter :: IMIN = 0
      integer, parameter :: IMAX = 999
      integer :: i
      do i= IMIN, IMAX
         @assertTrue(is_valid_millisecond(i))
      end do
      @assertFalse(is_valid_millisecond(IMAX+1))
      @assertFalse(is_valid_millisecond(IMIN-1))
   end subroutine test_is_valid_millisecond