1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-09-14 00:08:53 +00:00

test dotcode: add test for ECI > 811799 for segs > 0

This commit is contained in:
gitlost
2026-09-07 03:18:26 +01:00
parent 76f28fe705
commit baa91878f4
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
Version 2.16.0.9 (dev) not released yet (2026-07-06)
Version 2.16.0.9 (dev) not released yet (2026-09-07)
====================================================
**Incompatible changes**
@@ -77,6 +77,7 @@ Bugs
- composite: preserve `gs1_verify()` warning (if any)
- GRIDMATRIX: fix byte latch 6 -> 7, & allowing more than one non-digit in
numeral (both caused misencodation)
- DOTCODE: fix not checking ECI on segs > 0 (MR #160, props Connor-Jay Dunn)
Version 2.16.0 (2025-12-19)
+1
View File
@@ -1547,6 +1547,7 @@ static void test_encode_segs(const testCtx *const p_ctx) {
"10101010001010101010100000001"
"01000101000001010100000100010"
},
/* 12*/ { UNICODE_MODE, -1, -1, { 0, 0, "" }, { { TU(""), -1, 0 }, { TU("Ж"), -1, 811800 }, { TU(""), 0, 0 } }, ZINT_ERROR_INVALID_OPTION, -1, -1, 1, 1, "", "" },
};
const int data_size = ARRAY_SIZE(data);
int i, j, seg_count, ret;