3 use fruit,
only : assert_equals, assert_not_equals, assert_true
13 real(kind=
default_precision),
parameter :: expected = -0.62203306596824359_default_precision
14 res =
qsaturation(0.0_default_precision, 0.0_default_precision)
15 call assert_equals(expected, res,
"Result when P=0 and T=0")
22 res =
dqwsatdt(0.0_default_precision, 0.0_default_precision)
23 call assert_equals(expected, res,
"Result when SAT=0 and T=0 is 0")
30 res =
dqwsatdt(0.0_default_precision,35.86_default_precision)
31 call assert_equals(expected, res,
"Result when T=qsa3 should be 0")
42 use fruit,
only : init_fruit, run_test_case, fruit_summary