diff --git a/qbsp/test_qbsp.cc b/qbsp/test_qbsp.cc index 6a9102dd..1d60cd98 100644 --- a/qbsp/test_qbsp.cc +++ b/qbsp/test_qbsp.cc @@ -924,7 +924,8 @@ TEST_CASE("origin", "[testmaps_q1]") [](const entdict_t &dict) -> bool { return dict.get("classname") == "rotate_object"; }); REQUIRE(it != ents.end()); - REQUIRE("216 -216 340" == it->get("origin")); + CHECK_THAT(it->get("origin"), Catch::Equals("216 -216 340") + || Catch::Equals("216.00 -216.00 340.00")); } TEST_CASE("simple", "[testmaps_q1]")