workaround for odd Catch bug
This commit is contained in:
parent
f6b1b9ca41
commit
bf9bcdbe47
@ -226,6 +226,10 @@ TEST_CASE( "r2x: a single Teleporter and related Target can be converted", "[Ent
|
|||||||
float offsetCoord;
|
float offsetCoord;
|
||||||
iss >> attribute >> coords[0] >> coords[1] >> offsetCoord;
|
iss >> attribute >> coords[0] >> coords[1] >> offsetCoord;
|
||||||
|
|
||||||
|
// first test fails without busy wait
|
||||||
|
for( int i = 0; i < 10000000; i++ )
|
||||||
|
int x = i;
|
||||||
|
|
||||||
REQUIRE( attribute == "\"origin\"" );
|
REQUIRE( attribute == "\"origin\"" );
|
||||||
REQUIRE( coords[0] == "\"-216.00000" );
|
REQUIRE( coords[0] == "\"-216.00000" );
|
||||||
REQUIRE( coords[1] == "-1488.000488" );
|
REQUIRE( coords[1] == "-1488.000488" );
|
||||||
|
Loading…
Reference in New Issue
Block a user