def test_2d_identity(self): a = primitives.line2d() self.assertEqual(a.primitive, MeshPrimitive.LINES) self.assertFalse(a.is_indexed)
def test_2d(self): a = primitives.line2d((1.0, 2.0), (7.0, 3.2)) self.assertEqual(a.primitive, MeshPrimitive.LINES) self.assertFalse(a.is_indexed)