diff options
author | Josh MacDonald <josh.macdonald@gmail.com> | 2015-11-17 23:55:35 -0800 |
---|---|---|
committer | Josh MacDonald <josh.macdonald@gmail.com> | 2015-11-17 23:55:35 -0800 |
commit | fcf3b2ee0a00e2881f6a6b47ab84372affea9cbf (patch) | |
tree | b8f1639042732131c7f06ace29fb10330e30ca78 /xdelta3/testing | |
parent | dc410accc1e1dcef1100d4c047fadb3c6545d172 (diff) |
Corrections and typos
Diffstat (limited to 'xdelta3/testing')
-rw-r--r-- | xdelta3/testing/regtest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/testing/regtest.cc b/xdelta3/testing/regtest.cc index 23c985e..0c21b2d 100644 --- a/xdelta3/testing/regtest.cc +++ b/xdelta3/testing/regtest.cc | |||
@@ -816,7 +816,7 @@ void TestSmallStride() { | |||
816 | IF_DEBUG1(DP(RINT "[stride=%d] changes=%u adds=%"Q"u\n", | 816 | IF_DEBUG1(DP(RINT "[stride=%d] changes=%u adds=%"Q"u\n", |
817 | s, changes, delta.AddedBytes())); | 817 | s, changes, delta.AddedBytes())); |
818 | double allowance = Constants::BLOCK_SIZE < 8192 ? 3.0 : 1.1; | 818 | double allowance = Constants::BLOCK_SIZE < 8192 ? 3.0 : 1.1; |
819 | CHECK_GE(allowance, (double)delta.AddedBytes()); | 819 | CHECK_GE(allowance * changes, (double)delta.AddedBytes()); |
820 | } | 820 | } |
821 | } | 821 | } |
822 | 822 | ||