forgot old water unit tests

master
Perttu Ahola 2011-01-24 13:44:07 +02:00
parent 7274b82ef4
commit 87554408ca
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,7 @@ struct TestVoxelManipulator
assert(v.getNode(v3s16(-1,0,-1)).d == 2); assert(v.getNode(v3s16(-1,0,-1)).d == 2);
EXCEPTION_CHECK(InvalidPositionException, v.getNode(v3s16(0,1,1))); EXCEPTION_CHECK(InvalidPositionException, v.getNode(v3s16(0,1,1)));
#if 0
/* /*
Water stuff Water stuff
*/ */
@ -332,6 +333,7 @@ struct TestVoxelManipulator
dstream<<"Final result of flowWater:"<<std::endl; dstream<<"Final result of flowWater:"<<std::endl;
v.print(dstream, VOXELPRINT_WATERPRESSURE); v.print(dstream, VOXELPRINT_WATERPRESSURE);
#endif
//assert(0); //assert(0);
} }