def test_refine(self):
        M = Mesh.TreeMesh([4,4,4])
        M.refine(1)
        assert M.nC == 8
        M.refine(0)
        assert M.nC == 8
        M.corsen(0)
        assert M.nC == 1
dataset/ETHPy150Open simpeg/simpeg/tests/mesh/test_TreeMesh.py/TestSimpleQuadTree.test_refine/original