mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
All unit tests that run now pass.
This commit is contained in:
parent
b173e5571c
commit
fae1bad96c
4 changed files with 19 additions and 22 deletions
|
|
@ -40,7 +40,7 @@ TEST(Platform, Sleep)
|
|||
U32 start = Platform::getRealMilliseconds();
|
||||
Platform::sleep(500);
|
||||
U32 end = Platform::getRealMilliseconds();
|
||||
EXPECT_GE(end - start, 500)
|
||||
EXPECT_GE(end - start, 500-10) // account for clock resolution
|
||||
<< "We didn't sleep at least as long as we requested!";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue