summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_render_barcode_datamatrix.py
blob: 564f0ee070ddda363a1b800ea4c512d4643bffc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# coding=utf-8
from render_barcode_datamatrix import DataMatrix
from inkex.tester import ComparisonMixin, TestCase


class TestDataMatrixBasic(ComparisonMixin, TestCase):
    effect_class = DataMatrix
    compare_file = "svg/empty.svg"
    comparisons = [
        ("--symbol=sq10",),
        ("--symbol=sq96", "--text=Sunshine"),
        ("--symbol=sq144", "--text=HelloTest"),
        ("--symbol=rect8x32", "--text=1234Foo"),
    ]