diff options
Diffstat (limited to 'xdelta3/xdelta3-test.h')
-rwxr-xr-x | xdelta3/xdelta3-test.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xdelta3/xdelta3-test.h b/xdelta3/xdelta3-test.h index 30d8629..c3cbd4d 100755 --- a/xdelta3/xdelta3-test.h +++ b/xdelta3/xdelta3-test.h | |||
@@ -32,7 +32,7 @@ static const usize_t TEST_FILE_MEAN = 16384; | |||
32 | static const double TEST_ADD_MEAN = 16; | 32 | static const double TEST_ADD_MEAN = 16; |
33 | static const double TEST_ADD_MAX = 256; | 33 | static const double TEST_ADD_MAX = 256; |
34 | static const double TEST_ADD_RATIO = 0.1; | 34 | static const double TEST_ADD_RATIO = 0.1; |
35 | static const double TEST_EPSILON = 0.5; | 35 | static const double TEST_EPSILON = 0.55; |
36 | 36 | ||
37 | #define TESTBUFSIZE (1024 * 16) | 37 | #define TESTBUFSIZE (1024 * 16) |
38 | 38 | ||
@@ -1522,8 +1522,8 @@ test_command_line_arguments (xd3_stream *stream, int ignore) | |||
1522 | /* Check that it is not too small, not too large. */ | 1522 | /* Check that it is not too small, not too large. */ |
1523 | if (ratio >= TEST_ADD_RATIO + TEST_EPSILON) | 1523 | if (ratio >= TEST_ADD_RATIO + TEST_EPSILON) |
1524 | { | 1524 | { |
1525 | P(RINT "xdelta3: test encode with size ratio %.3f, expected < %.3f\n", | 1525 | P(RINT "xdelta3: test encode with size ratio %.3f, expected < %.3f (%"Q"u, %"Q"u)\n", |
1526 | ratio, TEST_ADD_RATIO + TEST_EPSILON); | 1526 | ratio, TEST_ADD_RATIO + TEST_EPSILON, dsize, tsize); |
1527 | stream->msg = "strange encoding"; | 1527 | stream->msg = "strange encoding"; |
1528 | return XD3_INTERNAL; | 1528 | return XD3_INTERNAL; |
1529 | } | 1529 | } |