From cca66b9ec4e494c1d919bff0f71a820d8afab1fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:24:48 +0200 Subject: Adding upstream version 1.2.2. Signed-off-by: Daniel Baumann --- share/extensions/tests/test_render_barcode_datamatrix.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 share/extensions/tests/test_render_barcode_datamatrix.py (limited to 'share/extensions/tests/test_render_barcode_datamatrix.py') diff --git a/share/extensions/tests/test_render_barcode_datamatrix.py b/share/extensions/tests/test_render_barcode_datamatrix.py new file mode 100644 index 0000000..564f0ee --- /dev/null +++ b/share/extensions/tests/test_render_barcode_datamatrix.py @@ -0,0 +1,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"), + ] -- cgit v1.2.3