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:
@@ -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**
|
**Incompatible changes**
|
||||||
@@ -77,6 +77,7 @@ Bugs
|
|||||||
- composite: preserve `gs1_verify()` warning (if any)
|
- composite: preserve `gs1_verify()` warning (if any)
|
||||||
- GRIDMATRIX: fix byte latch 6 -> 7, & allowing more than one non-digit in
|
- GRIDMATRIX: fix byte latch 6 -> 7, & allowing more than one non-digit in
|
||||||
numeral (both caused misencodation)
|
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)
|
Version 2.16.0 (2025-12-19)
|
||||||
|
|||||||
@@ -1547,6 +1547,7 @@ static void test_encode_segs(const testCtx *const p_ctx) {
|
|||||||
"10101010001010101010100000001"
|
"10101010001010101010100000001"
|
||||||
"01000101000001010100000100010"
|
"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);
|
const int data_size = ARRAY_SIZE(data);
|
||||||
int i, j, seg_count, ret;
|
int i, j, seg_count, ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user