compass.ocean.tests.baroclinic_channel.decomp_test.DecompTest¶
- class compass.ocean.tests.baroclinic_channel.decomp_test.DecompTest(test_group, resolution)[source]¶
A decomposition test case for the baroclinic channel test group, which makes sure the model produces identical results on 1 and 4 cores.
- Variables:
resolution (str) – The resolution of the test case
- __init__(test_group, resolution)[source]¶
Create the test case
- Parameters:
test_group (compass.ocean.tests.baroclinic_channel.BaroclinicChannel) – The test group that this test case belongs to
resolution (str) – The resolution of the test case
Methods
__init__
(test_group, resolution)Create the test case
add_step
(step[, run_by_default])Add a step to the test case
check_validation
()Check the test case's "validation" dictionary to see if validation failed.
Modify the configuration options for this test case.
run
()This method is deprecated.
validate
()Test cases can override this method to perform validation of variables and timers