summaryrefslogtreecommitdiff
path: root/xdelta3/testing/sizes.h
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2008-09-05 03:06:25 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2008-09-05 03:06:25 +0000
commitf63f39248269b44a3872af19cb47f9776dea48f3 (patch)
treecf9de230e97e654a9cafa909d15a57d3ba50492d /xdelta3/testing/sizes.h
parentb1898b74d388615715e1487dbb1474460d2b362c (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.h14
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
53size_t SmallSizes::max_value = Constants::BLOCK_SIZE * 3; 53size_t SmallSizes::max_value = Constants::BLOCK_SIZE * 3;
54 54
55class LargeSizes {
56public:
57 static size_t sizes[];
58 static size_t max_value;
59};
60
61size_t LargeSizes::sizes[] = {
62 1 << 20,
63 1 << 18,
64 1 << 16,
65};
66
67size_t LargeSizes::max_value = 1<<20;
68
55} // namespace regtest 69} // namespace regtest