aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_chest_top.png
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-10-07 02:05:03 +0100
committerparamat <mat.gregory@virginmedia.com>2015-10-07 06:43:46 +0100
commit706e7cebeada1f3f1f060de8a4c6f1127f4209ad (patch)
treee535f1bcdc0a8a06a7822d7f7943fe0558ba2419 /games/minimal/mods/default/textures/default_chest_top.png
parentd152b55971a57f76211f3db07e864cac015edff2 (diff)
downloadminetest-706e7cebeada1f3f1f060de8a4c6f1127f4209ad.tar.gz
minetest-706e7cebeada1f3f1f060de8a4c6f1127f4209ad.tar.bz2
minetest-706e7cebeada1f3f1f060de8a4c6f1127f4209ad.zip
Fractal mapgen: Add seabed and large pseudorandom caves
Diffstat (limited to 'games/minimal/mods/default/textures/default_chest_top.png')
0 files changed, 0 insertions, 0 deletions
void runTests(IGameDef *gamedef); void testContentFeaturesSerialization(); }; static TestNodeDef g_test_instance; void TestNodeDef::runTests(IGameDef *gamedef) { TEST(testContentFeaturesSerialization); } //////////////////////////////////////////////////////////////////////////////// void TestNodeDef::testContentFeaturesSerialization() { ContentFeatures f; f.name = "default:stone"; for (TileDef &tiledef : f.tiledef) tiledef.name = "default_stone.png"; f.is_ground_content = true; std::ostringstream os(std::ios::binary); f.serialize(os, LATEST_PROTOCOL_VERSION); // verbosestream<<"Test ContentFeatures size: "<<os.str().size()<<std::endl; std::istringstream is(os.str(), std::ios::binary); ContentFeatures f2; f2.deSerialize(is); UASSERT(f.walkable == f2.walkable); UASSERT(f.node_box.type == f2.node_box.type); }