Skip to content

Commit

Permalink
Fix pyton cone volume test.
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti committed May 18, 2024
1 parent 6f94504 commit 7ab3d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/test/pyCone_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ConeTEST(unittest.TestCase):
def test_default_construction(self):
cone = Cone()

self.assertEqual(math.pi * math.pow(0.5, 2) * 1.0,
self.assertEqual(math.pi * math.pow(0.5, 2) * 1.0 / 3.0,
cone.shape().volume())

self.assertEqual(0.5, cone.radius())
Expand Down

0 comments on commit 7ab3d56

Please sign in to comment.