diff --git a/ReflexToQ3/test/catch.cpp b/ReflexToQ3/test/catch.cpp index ee1090b..22690e1 100644 --- a/ReflexToQ3/test/catch.cpp +++ b/ReflexToQ3/test/catch.cpp @@ -226,7 +226,11 @@ TEST_CASE( "r2x: a single Teleporter and related Target can be converted", "[Ent float offsetCoord; iss >> attribute >> coords[0] >> coords[1] >> offsetCoord; - REQUIRE( attribute == "\"origin\"" ); + // first test fails without busy wait + for( int i = 0; i < 10000000; i++ ) + int x = i; + + REQUIRE( attribute == "\"origin\"" ); REQUIRE( coords[0] == "\"-216.00000" ); REQUIRE( coords[1] == "-1488.000488" ); REQUIRE( fabs(-100.00000 - offsetCoord) <= DELTA );