def test_mesh_n_texture_vertices02(self): mesh1 = Mesh(vertices=np.arange(3), polygon_vertex_indices=[[0, 1, 2]], texture_vertices=np.arange(6), texture_polygon_vertex_indices=[[2, 1, 0]]) self.assertTrue(mesh1.n_texture_vertices(), 6)
def test_mesh_n_texture_vertices01(self): mesh1 = Mesh(vertices=np.arange(5), polygon_vertex_indices=[[0, 1, 2]]) self.assertEqual(mesh1.n_texture_vertices(), 0)