def test_mesh_n_groups03(self): mesh1 = Mesh(vertices=np.arange(5), polygon_vertex_indices=[[0, 1, 2]], group_names=["F", "U", "U"]) self.assertEqual(mesh1.n_groups(), 3)
def test_mesh_n_groups01(self): mesh1 = Mesh(vertices=np.arange(5), polygon_vertex_indices=[[0, 1, 2]]) self.assertEqual(mesh1.n_groups(), 0)