diff options
Diffstat (limited to '')
-rw-r--r-- | share/extensions/tests/test_perspective.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/share/extensions/tests/test_perspective.py b/share/extensions/tests/test_perspective.py new file mode 100644 index 0000000..1040d31 --- /dev/null +++ b/share/extensions/tests/test_perspective.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python +# coding=utf-8 + +from perspective import Perspective +from inkex.tester import ComparisonMixin, TestCase + + +class PerspectiveBasicTest(ComparisonMixin, TestCase): + effect_class = Perspective + comparisons = [("--id=text", "--id=envelope")] + compare_file = "svg/perspective.svg" + + +class PerspectiveGroupTest(ComparisonMixin, TestCase): + effect_class = Perspective + comparisons = [("--id=obj", "--id=envelope")] + compare_file = "svg/perspective_groups.svg" |