1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-20 03:17:12 +00:00

gs1_verify: validate AIs from BWIPP gs1-format-spec.txt

This commit is contained in:
gitlost
2021-01-18 20:10:52 +00:00
parent 0b80592f87
commit f9300cb37e
28 changed files with 5887 additions and 1275 deletions

View File

@@ -158,7 +158,7 @@ static void test_input_mode(int index, int debug) {
/* 7*/ { "1234", -1, 0, DATA_MODE },
/* 8*/ { "1234", DATA_MODE | 0x10, 0, DATA_MODE | 0x10 }, // Unknown flags kept (but ignored)
/* 9*/ { "1234", UNICODE_MODE | 0x10, 0, UNICODE_MODE | 0x10 },
/* 10*/ { "[01]12345678901234", GS1_MODE | 0x20, 0, GS1_MODE | 0x20 },
/* 10*/ { "[01]12345678901231", GS1_MODE | 0x20, 0, GS1_MODE | 0x20 },
};
int data_size = ARRAY_SIZE(data);