]> git.localhorst.tv Git - blank.git/blobdiff - tst/world/ChunkTest.cpp
tvec[234]<int> -> ivec[234]
[blank.git] / tst / world / ChunkTest.cpp
index 408fec32dffaa5f3f4b8de747490d11f832a907c..c8dac8319f30835cbacf20a6b9c3d4391db1531a 100644 (file)
@@ -322,7 +322,6 @@ void ChunkTest::testNeighbor() {
                        "chunk did not link correct neighbor",
                        &*chunk, &neighbor->GetNeighbor(Block::Opposite(face))
                );
-               chunk->Unlink();
                chunk->ClearNeighbors();
        }
 
@@ -451,10 +450,6 @@ void ChunkTest::testLightPropagation() {
 
        // now block the light to the left
        chunk->SetBlock(Chunk::Pos(6, 7, 7), Block(1));
-       CPPUNIT_ASSERT_EQUAL_MESSAGE(
-               "non-zero light level in solid block",
-               0, chunk->GetLight(Chunk::Pos(6, 7, 7))
-       );
        CPPUNIT_ASSERT_EQUAL_MESSAGE(
                "adding obstacle affected unrelated index",
                5, chunk->GetLight(Chunk::Pos(7, 7, 7))