示例#1
0
 def test_2d_identity(self):
     a = primitives.line2d()
     self.assertEqual(a.primitive, MeshPrimitive.LINES)
     self.assertFalse(a.is_indexed)
示例#2
0
 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)