diff --git a/extensions/fablabchemnitz/apply_transformations/__init__.py b/extensions/fablabchemnitz/apply_transformations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/extensions/fablabchemnitz/apply_transformations/tests/data/svg/complextransform.test.svg b/extensions/fablabchemnitz/apply_transformations/tests/data/svg/complextransform.test.svg new file mode 100644 index 0000000..478f850 --- /dev/null +++ b/extensions/fablabchemnitz/apply_transformations/tests/data/svg/complextransform.test.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/fablabchemnitz/apply_transformations/tests/test_apply_transformations.py b/extensions/fablabchemnitz/apply_transformations/tests/test_apply_transformations.py new file mode 100644 index 0000000..e301c0a --- /dev/null +++ b/extensions/fablabchemnitz/apply_transformations/tests/test_apply_transformations.py @@ -0,0 +1,18 @@ +# coding=utf-8 +from apply_transformations import ApplyTransformations +from inkex.tester import ComparisonMixin, TestCase +from inkex.tester.filters import CompareNumericFuzzy, CompareWithPathSpace + + +class ApplyTransformations(ComparisonMixin, TestCase): + effect_class = AddNodes + comparisons = [ + tuple() + ] + compare_file = "complextransforms.test.svg" + compare_filters = [ + CompareWithPathSpace(), + CompareNumericFuzzy(), + ] + +