1
0
cuberite-2a/tests/ChunkBuffer/Coordinates.cpp

16 lines
265 B
C++
Raw Normal View History

2014-05-10 08:03:36 -04:00
#include "TestGlobals.h"
#include "ChunkBuffer.h"
int main(int argc, char** argv)
{
cChunkBuffer buffer;
buffer.SetBlock(0,0,0, 0xAB);
assert(buffer.GetBlock(0,0,0) == 0xAB);
buffer.SetMeta(0,16,0, 0xC);
assert(buffer.GetMeta(0,16,0) == 0xC);
return 0;
}