summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_rubberstretch.py
blob: 3324eda6efa912dafd46911b78c5342432e770fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# coding=utf-8
from rubberstretch import RubberStretch
from inkex.tester import ComparisonMixin, InkscapeExtensionTestMixin, TestCase


class TestRubberStretchBasic(ComparisonMixin, InkscapeExtensionTestMixin, TestCase):
    effect_class = RubberStretch
    compare_file = "svg/rubber-stretch-test.svg"
    comparisons = [
        ("--id=path3997", "--ratio=50", "--curve=0"),
        ("--id=path3997", "--ratio=0", "--curve=50"),
        ("--id=path3997", "--ratio=25", "--curve=25"),
    ]