diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2008-09-05 03:06:25 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2008-09-05 03:06:25 +0000 |
commit | f63f39248269b44a3872af19cb47f9776dea48f3 (patch) | |
tree | cf9de230e97e654a9cafa909d15a57d3ba50492d /xdelta3/testing/sizes.h | |
parent | b1898b74d388615715e1487dbb1474460d2b362c (diff) |
Introduce a test case for the latest post to issue 36.
Diffstat (limited to 'xdelta3/testing/sizes.h')
-rw-r--r-- | xdelta3/testing/sizes.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xdelta3/testing/sizes.h b/xdelta3/testing/sizes.h index afe4e50..6b70892 100644 --- a/xdelta3/testing/sizes.h +++ b/xdelta3/testing/sizes.h | |||
@@ -52,4 +52,18 @@ size_t SmallSizes::sizes[] = { | |||
52 | 52 | ||
53 | size_t SmallSizes::max_value = Constants::BLOCK_SIZE * 3; | 53 | size_t SmallSizes::max_value = Constants::BLOCK_SIZE * 3; |
54 | 54 | ||
55 | class LargeSizes { | ||
56 | public: | ||
57 | static size_t sizes[]; | ||
58 | static size_t max_value; | ||
59 | }; | ||
60 | |||
61 | size_t LargeSizes::sizes[] = { | ||
62 | 1 << 20, | ||
63 | 1 << 18, | ||
64 | 1 << 16, | ||
65 | }; | ||
66 | |||
67 | size_t LargeSizes::max_value = 1<<20; | ||
68 | |||
55 | } // namespace regtest | 69 | } // namespace regtest |