From 35a96bde514a8897f6f0fcc41c5833bf63df2e2a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:29:01 +0200 Subject: Adding upstream version 1.0.2. Signed-off-by: Daniel Baumann --- share/extensions/tests/test_perspective.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 share/extensions/tests/test_perspective.py (limited to 'share/extensions/tests/test_perspective.py') 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' -- cgit v1.2.3