15 implicit none ;
private
23 subroutine unit_tests(verbosity)
25 integer,
intent(in) :: verbosity
29 verbose = verbosity>=5
31 if (is_root_pe())
then
32 if (string_functions_unit_tests(verbose))
call mom_error(fatal, &
33 "MOM_unit_tests: string_functions_unit_tests FAILED")
34 if (remapping_unit_tests(verbose))
call mom_error(fatal, &
35 "MOM_unit_tests: remapping_unit_tests FAILED")
36 if (neutral_diffusion_unit_tests(verbose))
call mom_error(fatal, &
37 "MOM_unit_tests: neutralDiffusionUnitTests FAILED")
38 if (diag_vkernels_unit_tests(verbose))
call mom_error(fatal, &
39 "MOM_unit_tests: diag_vkernels_unit_tests FAILED")
40 if (random_unit_tests(verbose))
call mom_error(fatal, &
41 "MOM_unit_tests: random_unit_tests FAILED")
42 if (near_boundary_unit_tests(verbose))
call mom_error(fatal, &
43 "MOM_unit_tests: near_boundary_unit_tests FAILED")
46 end subroutine unit_tests