13 implicit none ;
private
21 subroutine unit_tests(verbosity)
23 integer,
intent(in) :: verbosity
27 verbose = verbosity>=5
29 if (is_root_pe())
then
30 if (string_functions_unit_tests(verbose))
call mom_error(fatal, &
31 "MOM_unit_tests: string_functions_unit_tests FAILED")
32 if (remapping_unit_tests(verbose))
call mom_error(fatal, &
33 "MOM_unit_tests: remapping_unit_tests FAILED")
34 if (neutral_diffusion_unit_tests(verbose))
call mom_error(fatal, &
35 "MOM_unit_tests: neutralDiffusionUnitTests FAILED")
36 if (diag_vkernels_unit_tests(verbose))
call mom_error(fatal, &
37 "MOM_unit_tests: diag_vkernels_unit_tests FAILED")
40 end subroutine unit_tests