From 834200c765a38795ff6049278a730c95b4f2e27f Mon Sep 17 00:00:00 2001 From: Benjamin Perseghetti Date: Sat, 18 May 2024 16:10:08 -0400 Subject: [PATCH] Fix pyton cone volume test. Signed-off-by: Benjamin Perseghetti --- python/test/pyCone_TEST.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/test/pyCone_TEST.py b/python/test/pyCone_TEST.py index 8eb4d422e..e36e65f63 100644 --- a/python/test/pyCone_TEST.py +++ b/python/test/pyCone_TEST.py @@ -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())