From 61a7265ecfafc522ce3808e9b3c2912deadb10bd Mon Sep 17 00:00:00 2001 From: JSCHILL1 Date: Wed, 5 Aug 2009 17:05:27 -0500 Subject: [PATCH] Add unit tests to reduce to shorthand curve path segments. Updated test script --- scour.py | 11 ++++++++++- testscour.py | 12 ++++++++++++ unittests/path-bez-optimize.svg | 4 ++++ unittests/path-quad-optimize.svg | 4 ++++ 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 unittests/path-bez-optimize.svg create mode 100644 unittests/path-quad-optimize.svg diff --git a/scour.py b/scour.py index 01c01a8..80b9522 100755 --- a/scour.py +++ b/scour.py @@ -65,6 +65,8 @@ # - prevent elements from being stripped if they are referenced in a