summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-01 21:31:27 +0200
committermadmaxoft <github@xoft.cz>2014-09-01 21:31:27 +0200
commitd9f6c691cc7ecf005618611fa0f32d854f8f87ff (patch)
tree1d06cf93962e727d0b295694dbe62686ced348b0 /tests
parentFixed off-by-one errors in cChunkDef asserts. (diff)
downloadcuberite-d9f6c691cc7ecf005618611fa0f32d854f8f87ff.tar
cuberite-d9f6c691cc7ecf005618611fa0f32d854f8f87ff.tar.gz
cuberite-d9f6c691cc7ecf005618611fa0f32d854f8f87ff.tar.bz2
cuberite-d9f6c691cc7ecf005618611fa0f32d854f8f87ff.tar.lz
cuberite-d9f6c691cc7ecf005618611fa0f32d854f8f87ff.tar.xz
cuberite-d9f6c691cc7ecf005618611fa0f32d854f8f87ff.tar.zst
cuberite-d9f6c691cc7ecf005618611fa0f32d854f8f87ff.zip
Diffstat (limited to '')
-rw-r--r--tests/ChunkData/CopyBlocks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ChunkData/CopyBlocks.cpp b/tests/ChunkData/CopyBlocks.cpp
index ec9451099..99f416e94 100644
--- a/tests/ChunkData/CopyBlocks.cpp
+++ b/tests/ChunkData/CopyBlocks.cpp
@@ -45,7 +45,7 @@ int main(int argc, char ** argv)
BLOCKTYPE * WritePosition = &TestBuffer[WritePosIdx];
memset(TestBuffer, 0x03, sizeof(TestBuffer));
size_t LastReportedStep = 1;
- for (size_t idx = 0; idx < 5000; idx += 7)
+ for (size_t idx = 0; idx < 5000; idx += 73)
{
if (idx / 500 != LastReportedStep)
{
@@ -53,7 +53,7 @@ int main(int argc, char ** argv)
LastReportedStep = idx / 500;
}
- for (size_t len = 3; len < 1000; len += 13)
+ for (size_t len = 3; len < 700; len += 13)
{
Data.CopyBlockTypes(WritePosition, idx, len);