aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/test/svg_tests.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-06-05 21:22:01 +0200
committerjaseg <git@jaseg.de>2021-06-05 21:22:01 +0200
commit6685b7587a2d8c147715d89e27b0f3b40883b9f1 (patch)
treed73f82073aecaa4d6c87f279d30fc29f8a977d62 /svg-flatten/src/test/svg_tests.py
parent3ef3f0223e9662f6c3cc6d213afcd74944399f6b (diff)
downloadgerbolyze-6685b7587a2d8c147715d89e27b0f3b40883b9f1.tar.gz
gerbolyze-6685b7587a2d8c147715d89e27b0f3b40883b9f1.tar.bz2
gerbolyze-6685b7587a2d8c147715d89e27b0f3b40883b9f1.zip
Fix binary contours vectorizer
Replace teh-chin with ramer-douglas-peucker
Diffstat (limited to 'svg-flatten/src/test/svg_tests.py')
-rw-r--r--svg-flatten/src/test/svg_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/svg-flatten/src/test/svg_tests.py b/svg-flatten/src/test/svg_tests.py
index 7f1adb0..e4cff76 100644
--- a/svg-flatten/src/test/svg_tests.py
+++ b/svg-flatten/src/test/svg_tests.py
@@ -100,8 +100,9 @@ class SVGRoundTripTests(unittest.TestCase):
#print_stats(ref)
#print_stats(out)
- #print(f'{test_name}: mean={delta.mean():.5g}')
+ print(f'{test_name}: mean={delta.mean():.5g}')
+ self.fail('debug')
self.assertTrue(delta.mean() < mean,
f'Expected mean pixel difference between images to be <{mean}, was {delta.mean():.5g}')