summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-02 19:36:14 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-02 19:36:14 +0200
commit42dcd534df8b41ba24650c2ab6003303b5ae54ce (patch)
tree37b6dc369524037e20602e3d4c43fec10e875741 /tests
parentAdded CustomName saving. (diff)
parentRe-added alternate spellings of darkgraywool. (diff)
downloadcuberite-42dcd534df8b41ba24650c2ab6003303b5ae54ce.tar
cuberite-42dcd534df8b41ba24650c2ab6003303b5ae54ce.tar.gz
cuberite-42dcd534df8b41ba24650c2ab6003303b5ae54ce.tar.bz2
cuberite-42dcd534df8b41ba24650c2ab6003303b5ae54ce.tar.lz
cuberite-42dcd534df8b41ba24650c2ab6003303b5ae54ce.tar.xz
cuberite-42dcd534df8b41ba24650c2ab6003303b5ae54ce.tar.zst
cuberite-42dcd534df8b41ba24650c2ab6003303b5ae54ce.zip
Diffstat (limited to 'tests')
-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);