summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_path_envelope.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/extensions/tests/test_path_envelope.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/share/extensions/tests/test_path_envelope.py b/share/extensions/tests/test_path_envelope.py
new file mode 100644
index 0000000..4b65c80
--- /dev/null
+++ b/share/extensions/tests/test_path_envelope.py
@@ -0,0 +1,18 @@
+# coding=utf-8
+
+from path_envelope import Envelope
+from inkex.tester import ComparisonMixin, TestCase
+
+
+class PathEnvelopeTest(ComparisonMixin, TestCase):
+ """Test envelope similar to perspective"""
+
+ effect_class = Envelope
+ comparisons = [("--id=text", "--id=envelope")]
+ compare_file = "svg/perspective.svg"
+
+
+class PathEnvelopeGroupTest(ComparisonMixin, TestCase):
+ effect_class = Envelope
+ comparisons = [("--id=obj", "--id=envelope")]
+ compare_file = "svg/perspective_groups.svg"