From da480aba476b48da8b40eca684e4d00ccab327a6 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 8 Mar 2022 12:36:08 -0800 Subject: [PATCH] Fix one more test case for arc approx --- qa/testcases/test_004_tracks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/testcases/test_004_tracks.py b/qa/testcases/test_004_tracks.py index 2cd08e8e84..6c304be3c6 100644 --- a/qa/testcases/test_004_tracks.py +++ b/qa/testcases/test_004_tracks.py @@ -21,7 +21,7 @@ class TestTracks(unittest.TestCase): arc = sorted(arcs, key=lambda t: [t.GetStart()[0], t.GetStart()[1]])[0] self.assertEqual( [29414200, 26500000], [arc.GetCenter()[0], arc.GetCenter()[1]] ) self.assertEqual([1800, 2250], [round(arc.GetArcAngleStart()), round(arc.GetArcAngleEnd())]) - self.assertEqual(2414211, round(arc.GetRadius())) + self.assertEqual( 2414200, round( arc.GetRadius() ) ) def test_vias(self): vias = [t.Cast() for t in self.pcb.Tracks() if t.GetClass() == 'PCB_VIA']