mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-15 15:44:34 -04:00
Fix microqr version option out-by-one
This commit is contained in:
parent
ed00537283
commit
c5b03f665a
5 changed files with 159 additions and 16 deletions
|
@ -33,7 +33,7 @@
|
|||
#include <zint.h>
|
||||
#include "testcommon.h"
|
||||
|
||||
//#define TEST_RSS_GENERATE_EXPECTED 1
|
||||
//#define TEST_GENERATE_EXPECTED 1
|
||||
|
||||
static void test_best_supported_set(void)
|
||||
{
|
||||
|
@ -105,7 +105,7 @@ static void test_best_supported_set(void)
|
|||
ret = ZBarcode_Render( symbol, data[i].w, data[i].h );
|
||||
assert_equal(ret, data[i].ret_render, "i:%d ZBarcode_Render ret %d != %d\n", i, ret, data[i].ret_render);
|
||||
|
||||
#ifdef TEST_RSS_GENERATE_EXPECTED
|
||||
#ifdef TEST_GENERATE_EXPECTED
|
||||
printf("symbology %d, data %s, length %d, rows %d, width %d\n", symbol->symbology, data[i].data, length, symbol->rows, symbol->width);
|
||||
testUtilModulesDump(symbol);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue