from compass.testgroup import TestGroup
from compass.landice.tests.greenland.smoke_test import SmokeTest
from compass.landice.tests.greenland.decomposition_test import DecompositionTest
from compass.landice.tests.greenland.restart_test import RestartTest
from compass.landice.tests.greenland.high_res_mesh import HighResMesh
[docs]class Greenland(TestGroup):
"""
A test group for Greenland 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='greenland')
for velo_solver in ['sia', 'FO']:
self.add_test_case(
SmokeTest(test_group=self, velo_solver=velo_solver))
self.add_test_case(
DecompositionTest(test_group=self, velo_solver=velo_solver))
self.add_test_case(
RestartTest(test_group=self, velo_solver=velo_solver))
self.add_test_case(
HighResMesh(test_group=self))