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