Source code for compass.landice.tests.eismint2

from compass.testgroup import TestGroup
from compass.landice.tests.eismint2.standard_experiments import \
    StandardExperiments
from compass.landice.tests.eismint2.decomposition_test import DecompositionTest
from compass.landice.tests.eismint2.restart_test import RestartTest


[docs] class Eismint2(TestGroup): """ A test group for eismint2 test cases """
[docs] def __init__(self, mpas_core): """ mpas_core : compass.landice.Landice the MPAS core that this test group belongs to """ super().__init__(mpas_core=mpas_core, name='eismint2') self.add_test_case(StandardExperiments(test_group=self)) for thermal_solver in ['temperature', 'enthalpy']: self.add_test_case( DecompositionTest( test_group=self, thermal_solver=thermal_solver)) self.add_test_case( RestartTest( test_group=self, thermal_solver=thermal_solver))