testqbsp: add a markfaces test to simple_sealed
This commit is contained in:
parent
3492ef2b9e
commit
0a424ca79c
|
|
@ -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<uint32_t>{0,1,2,3,4,5}));
|
||||
}
|
||||
|
||||
TEST_CASE("simple_sealed2", "[testmaps_q1]")
|
||||
|
|
|
|||
Loading…
Reference in New Issue