Unit tests fixed after #526 update.

This commit is contained in:
Matthias Koefferlein
2020-03-28 22:31:19 +01:00
parent 666cdeadc5
commit 2933e0b2e1
11 changed files with 90 additions and 73 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class BridgeTest(unittest.TestCase):
p = db.DSimplePolygon(db.DBox(1,2,3,4))
a = bridge.p2a(p)
pp = bridge.a2p(a)
self.assertEqual(repr(pp), "(1,2;1,4;3,4;3,2)")
self.assertEqual(str(pp), "(1,2;1,4;3,4;3,2)")
self.assertEqual(type(pp).__name__, "DSimplePolygon")
# run unit tests