mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-02 00:42:33 +01:00
Fix character test to actually be correct
This commit is contained in:
parent
5628f6ceb9
commit
5f4400f362
@ -50,8 +50,7 @@ BOOST_AUTO_TEST_CASE(test_activities)
|
||||
Global::get().e->dynamicsWorld->stepSimulation(1.f/60.f);
|
||||
}
|
||||
|
||||
// This check will undoubtably break in the future, please improve.
|
||||
BOOST_CHECK_CLOSE( glm::distance(character->getPosition(), {10.f, 10.f, 0.f}), 1.0f, 100.0f );
|
||||
BOOST_CHECK_LT( glm::distance(character->getPosition(), {10.f, 10.f, 0.f}), 0.1f);
|
||||
|
||||
Global::get().e->destroyObject(character);
|
||||
delete controller;
|
||||
|
Loading…
Reference in New Issue
Block a user