diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-05-21 20:58:48 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-05-21 20:58:48 +0200 |
commit | 024027db89ca833406147b79b7be74fc92906bbe (patch) | |
tree | 844345e33c2a9c8fb7f5ca255f0bd1236a41b446 /tests/ChunkData/Copies.cpp | |
parent | Fixed minor style issues (diff) | |
download | cuberite-024027db89ca833406147b79b7be74fc92906bbe.tar cuberite-024027db89ca833406147b79b7be74fc92906bbe.tar.gz cuberite-024027db89ca833406147b79b7be74fc92906bbe.tar.bz2 cuberite-024027db89ca833406147b79b7be74fc92906bbe.tar.lz cuberite-024027db89ca833406147b79b7be74fc92906bbe.tar.xz cuberite-024027db89ca833406147b79b7be74fc92906bbe.tar.zst cuberite-024027db89ca833406147b79b7be74fc92906bbe.zip |
Diffstat (limited to '')
-rw-r--r-- | tests/ChunkData/Copies.cpp (renamed from tests/ChunkBuffer/Copies.cpp) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/ChunkBuffer/Copies.cpp b/tests/ChunkData/Copies.cpp index 76af81496..145ffd8e0 100644 --- a/tests/ChunkBuffer/Copies.cpp +++ b/tests/ChunkData/Copies.cpp @@ -1,18 +1,18 @@ #include "TestGlobals.h" -#include "ChunkBuffer.h" +#include "ChunkData.h" int main(int argc, char** argv) { { - cChunkBuffer buffer; + cChunkData buffer; buffer.SetBlock(3,1,4,0xDE); buffer.SetMeta(3,1,4,0xA); - cChunkBuffer copy = buffer.Copy(); + cChunkData copy = buffer.Copy(); testassert(copy.GetBlock(3,1,4) == 0xDE); testassert(copy.GetMeta(3,1,4) == 0xA); @@ -47,7 +47,7 @@ int main(int argc, char** argv) } { - cChunkBuffer buffer; + cChunkData buffer; NIBBLETYPE * SrcNibbleBuffer = new NIBBLETYPE[16 * 16 * 256/2]; for (int i = 0; i < 16 * 16 * 256 / 2; i += 4) @@ -80,7 +80,7 @@ int main(int argc, char** argv) } { - cChunkBuffer buffer; + cChunkData buffer; NIBBLETYPE * SrcNibbleBuffer = new NIBBLETYPE[16 * 16 * 256/2]; for (int i = 0; i < 16 * 16 * 256 / 2; i += 4) @@ -114,7 +114,7 @@ int main(int argc, char** argv) } { - cChunkBuffer buffer; + cChunkData buffer; NIBBLETYPE * SrcNibbleBuffer = new NIBBLETYPE[16 * 16 * 256/2]; for (int i = 0; i < 16 * 16 * 256 / 2; i += 4) @@ -148,7 +148,7 @@ int main(int argc, char** argv) } { - cChunkBuffer buffer; + cChunkData buffer; BLOCKTYPE * SrcBlockBuffer = new BLOCKTYPE[16 * 16 * 256]; memset(SrcBlockBuffer, 0x00, 16 * 16 * 256); |