summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_render_barcode_datamatrix.py
blob: 8fb29fb6cc8ad6ba62209ee966d4794ded3b2027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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'),
    ]