Print failure message of a real value comparrison.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | img | Image where the failure occured. |
||
real(kind=wp), | intent(in) | :: | res | (Incorrect) result value of some procedure. |
||
real(kind=wp), | intent(in) | :: | tgt | (Correct) target result value of some procedure. |
subroutine printFailTestRealVal(img, res, tgt)
!! Print failure message of a real value comparrison.
integer, intent(in) :: img
!! Image where the failure occured.
real(kind=wp), intent(in) :: res
!! (Incorrect) result value of some procedure.
real(kind=wp), intent(in) :: tgt
!! (Correct) target result value of some procedure.
print SINGLE_VAL_FMT, img, res, tgt
end subroutine printFailTestRealVal