diff --git a/qbsp/test_qbsp.cc b/qbsp/test_qbsp.cc index 7766f52b..ba0836df 100644 --- a/qbsp/test_qbsp.cc +++ b/qbsp/test_qbsp.cc @@ -510,6 +510,14 @@ TEST_CASE("simple_sealed", "[testmaps_q1]") // no bspx lumps CHECK(bspx.empty()); + + // check markfaces + CHECK(bsp.dleafs[0].nummarksurfaces == 0); + CHECK(bsp.dleafs[0].firstmarksurface == 0); + + CHECK(bsp.dleafs[1].nummarksurfaces == 6); + CHECK(bsp.dleafs[1].firstmarksurface == 0); + CHECK_THAT(bsp.dleaffaces, Catch::UnorderedEquals(std::vector{0,1,2,3,4,5})); } TEST_CASE("simple_sealed2", "[testmaps_q1]")