3 use fruit
, only : assert_equals, assert_not_equals, &
21 call assert_not_equals(res, 0.0,
"Result is not 0")
36 call assert_not_equals(res1, res2, &
37 "Result are not equal")
47 use fruit
, only : init_fruit, run_test_case, fruit_summary
54 call run_test_case(
test_random,
"Test maths_mod random function produces output")
subroutine test_randomness
integer, parameter, public default_precision
MPI communication type which we use for the prognostic and calculation data.
Contains common definitions for the data and datatypes used by MONC.
real(kind=default_precision) function, public random(idum)
returns a scalar random number, the initial seed idum must be negative usage: idum = -k !(set idum < ...
program test_maths_mod_driver