Sanity-check pi is in a reasonable floating-point interval (3,4).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | id | |||
| integer, | intent(inout) | :: | nfail |
subroutine test_002(id, nfail) use forcolormap_parameters, only: wp, pi integer, intent(inout) :: id, nfail character(len=*), parameter :: name = "pi in (3,4)" logical :: ok ok = (pi > 3.0_wp) .and. (pi < 4.0_wp) call report_test(name, ok, id, nfail) end subroutine test_002