summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_perspective.py
blob: 82c165e01208ca54b7811f7bde8ad19b454cf1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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'