summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_perspective.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/tests/test_perspective.py')
-rw-r--r--share/extensions/tests/test_perspective.py15
1 files changed, 15 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..82c165e
--- /dev/null
+++ b/share/extensions/tests/test_perspective.py
@@ -0,0 +1,15 @@
+#!/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'