summaryrefslogblamecommitdiffstats
path: root/tests/ChunkBuffer/Coordinates.cpp
blob: d61eda7ad7b6bd0a6f7031036011af3ef3bd880f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                               

#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;
}