From b0d791b6495c6f8e572c98a65d10e1d3defd80ff Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 27 Apr 2022 01:05:26 -0600 Subject: [PATCH] testqbsp: enable more test maps --- qbsp/test_qbsp.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/qbsp/test_qbsp.cc b/qbsp/test_qbsp.cc index e9910fd7..070ca5d3 100644 --- a/qbsp/test_qbsp.cc +++ b/qbsp/test_qbsp.cc @@ -530,6 +530,24 @@ TEST(testmaps_q1, origin) ASSERT_EQ("216 -216 340", it->get("origin")); } +TEST(testmaps_q1, simple) +{ + const mbsp_t bsp = LoadTestmap("qbsp_simple.map"); + + ASSERT_TRUE(map.leakfile); + +} + +/** + * Lots of features in one map, more for testing in game than automated testing + */ +TEST(testmaps_q1, features) +{ + const mbsp_t bsp = LoadTestmap("qbspfeatures.map"); + + ASSERT_FALSE(map.leakfile); +} + // q2 testmaps TEST(testmaps_q2, detail) {