testqbsp: relax detail_illusionary_intersecting to pass with new tjunc code
This commit is contained in:
parent
e2fe6f8963
commit
a604c448c1
|
|
@ -797,9 +797,10 @@ TEST_CASE("detail_illusionary_intersecting", "[testmaps_q1]")
|
||||||
REQUIRE(prt.has_value());
|
REQUIRE(prt.has_value());
|
||||||
|
|
||||||
// sides: 3*4 = 12
|
// sides: 3*4 = 12
|
||||||
// top: 3
|
// top: 3 (4 with new tjunc code that prefers more faces over 0-area tris)
|
||||||
// bottom: 3
|
// bottom: 3 (4 with new tjunc code that prefers more faces over 0-area tris)
|
||||||
CHECK(bsp.dfaces.size() == 18);
|
CHECK(bsp.dfaces.size() >= 18);
|
||||||
|
CHECK(bsp.dfaces.size() <= 20);
|
||||||
|
|
||||||
for (auto &face : bsp.dfaces) {
|
for (auto &face : bsp.dfaces) {
|
||||||
CHECK(std::string("{trigger") == Face_TextureName(&bsp, &face));
|
CHECK(std::string("{trigger") == Face_TextureName(&bsp, &face));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue