Esempio n. 1
0
 def test_radius(self):
     """
     L{CylinderShape.getRadius} returns the radius of the cylinder.
     """
     shape = CylinderShape(Vector3(1, 2, 3))
     self.assertEqual(shape.getRadius(), 1)
Esempio n. 2
0
 def test_radius(self):
     """
     L{CylinderShape.getRadius} returns the radius of the cylinder.
     """
     shape = CylinderShape(Vector3(1, 2, 3))
     self.assertEqual(shape.getRadius(), 1)