mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 21:44:13 -04:00
MICROQR: some debug output, test case for ticket #241
This commit is contained in:
parent
b7adbf4e5b
commit
b568201574
2 changed files with 47 additions and 18 deletions
|
@ -2179,6 +2179,25 @@ static void test_microqr_encode(int index, int generate, int debug) {
|
|||
"01011000000010111"
|
||||
"11001111011101001"
|
||||
},
|
||||
/* 16*/ { UNICODE_MODE | ESCAPE_MODE, 1, -1, -1, "P-5-B223G846\015", 0, 17, 17, 1, "Ticket #241, 2.6.7 dropping off last character if mode different (MR #21)",
|
||||
"11111110101010101"
|
||||
"10000010100001100"
|
||||
"10111010011110010"
|
||||
"10111010100000101"
|
||||
"10111010011011111"
|
||||
"10000010111110100"
|
||||
"11111110110111101"
|
||||
"00000000011001000"
|
||||
"10010111011010100"
|
||||
"01110111000001110"
|
||||
"10100011001110111"
|
||||
"00011111000101010"
|
||||
"10011111101100110"
|
||||
"01110000111010100"
|
||||
"11001010110000000"
|
||||
"00011110011010001"
|
||||
"11101010111111111"
|
||||
},
|
||||
};
|
||||
int data_size = ARRAY_SIZE(data);
|
||||
int i, length, ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue