Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
test_mapblock.cpp File Reference
#include "test.h"
#include <sstream>
#include "gamedef.h"
#include "nodedef.h"
#include "mapblock.h"
#include "serialization.h"
#include "noise.h"
#include "inventory.h"
+ Include dependency graph for test_mapblock.cpp:

Classes

class  TestMapBlock
 

Macros

#define SS2_CHECK()   UASSERT(!ss2.fail())
 

Variables

static TestMapBlock g_test_instance
 
static const u8 coded_mapblock29 []
 
static const u8 coded_mapblock20 []
 
static const u8 coded_mapblock_nonstd []
 

Macro Definition Documentation

◆ SS2_CHECK

#define SS2_CHECK ( )    UASSERT(!ss2.fail())

Variable Documentation

◆ coded_mapblock20

const u8 coded_mapblock20[]
static

◆ coded_mapblock29

const u8 coded_mapblock29[]
static
Initial value:
= {
29,40,181,47,253,0,88,77,11,0,2,138,32,38,160,23,36,29,255,255,103,85,85,
213,136,105,255,110,103,27,53,43,218,89,210,205,184,194,207,24,226,254,135,
7,16,191,92,232,249,141,144,20,175,126,149,175,29,143,211,164,99,16,206,80,
28,115,77,190,197,176,52,212,147,14,12,130,34,88,75,42,45,65,21,24,44,215,
16,102,229,107,199,191,192,232,52,26,47,182,136,216,22,91,108,177,45,182,
88,44,98,199,127,148,30,253,41,49,36,205,81,120,167,33,197,232,124,108,73,
14,178,225,1,89,96,74,192,233,226,7,34,0,78,36,138,124,168,193,182,41,40,42,
148,182,14,48,131,17,74,155,12,99,18,0,113,80,150,98,137,8,98,56,144,8,20,
33,66,66,136,128,8,8,17,32,225,7,205,42,26,14,52,88,86,216,141,181,243,179,
3,4,215,245,139,22,83,172,157,47,73,82,216,114,3,60,78,223,0,155,247,80,5,
12,253,12,187,13,205,139,12,84,48,218,228,35,240,86,70,203,121,239,228,210,
96,86,116,12,5,10,97,49,111,52,238,79,12,36,119,59,39,118,53,49,89,216,181,
248,68,147,193,146,59,21,88,196,217,4,120,51,69,7,12,32,80,227,49,80,232,6,
163,221,171,38,126,130,81,154,216,165,93,120,40,186,136,115,223,1,231,48,
101,208,254,192,23,23,206,172,130,253,9,225,127,116,192,192,13,149,20,201,
60,244,151,226,114,71,81,114,126,198,247,177,98,70,70,62,181,18,74,140,239,
245,248,62,71,1,107,238,209,77,222,10,141,7,71,29,14,62,168,83,126,138,139,
26,106
}

Referenced by TestMapBlock::testLoad29().

◆ coded_mapblock_nonstd

const u8 coded_mapblock_nonstd[]
static
Initial value:
= {
27,0,255,255,1,2,120,218,237,208,177,13,130,64,0,0,192,127,21,5,31,176,182,
182,34,177,103,3,18,6,176,115,20,72,76,156,137,45,88,199,222,26,38,128,228,
110,132,139,113,233,179,18,0,0,0,0,0,0,0,128,205,75,227,235,59,63,223,237,
227,222,76,67,247,235,243,99,125,169,138,243,33,102,101,186,93,195,201,16,0,
0,0,236,223,31,36,149,14,142,120,218,99,0,0,0,1,0,1,0,0,0,255,255,255,255,0,
0,3,0,0,0,3,97,105,114,0,1,0,8,116,101,115,116,58,111,110,101,8,0,0,8,116,
101,115,116,58,116,119,111,10,0,0
}

Referenced by TestMapBlock::testLoadNonStd().

◆ g_test_instance

TestMapBlock g_test_instance
static