from compass.testcase import TestCase
from compass.landice.tests.kangerlussuaq.mesh import Mesh
[docs]class MeshGen(TestCase):
    """
    The default test case for the Kangerlussuaq test group simply creates the
    mesh and initial condition.
    """
[docs]    def __init__(self, test_group):
        """
        Create the test case
        Parameters
        ----------
        test_group : compass.landice.tests.kangerlussuaq.Kangerlussuaq
            The test group that this test case belongs to
        """
        name = 'mesh_gen'
        subdir = name
        super().__init__(test_group=test_group, name=name,
                         subdir=subdir)
        self.add_step(
            Mesh(test_case=self))