From 08d8e0a74cc81ca6abd11cf640b49fa57e5832c9 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 3 Apr 2019 11:48:17 +0300 Subject: [PATCH] Stabilization of the test TestMoveArc --- src/SketchPlugin/Test/TestMoveArc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SketchPlugin/Test/TestMoveArc.py b/src/SketchPlugin/Test/TestMoveArc.py index 621538e03..b66678599 100644 --- a/src/SketchPlugin/Test/TestMoveArc.py +++ b/src/SketchPlugin/Test/TestMoveArc.py @@ -251,8 +251,7 @@ class TestMoveArc(unittest.TestCase): self.mySketch.move(self.myArc.defaultResult(), newPosition[0], newPosition[1]) model.do() self.checkPointCoordinates(self.myArc.endPoint(), self.myEnd) - self.assertNotEqual(self.myArc.center().x(), self.myCenter[0]) - self.assertNotEqual(self.myArc.center().y(), self.myCenter[1]) + self.assertTrue(fabs(self.myArc.center().x() - self.myCenter[0]) > 1.e-5 or fabs(self.myArc.center().y() - self.myCenter[1]) > 1.e-5) def test_move_center_of_arc_fixed_radius(self): """ Test 17. Movement of center of the arc with fixed radius -- 2.39.2