| 27 | #include "math/mMath.h" |
| 28 | |
| 29 | TEST(Platform, AdvanceTime) |
| 30 | { |
| 31 | U32 time = Platform::getVirtualMilliseconds(); |
| 32 | Platform::advanceTime(10); |
| 33 | U32 newTime = Platform::getVirtualMilliseconds(); |
| 34 | EXPECT_EQ(10, newTime - time) |
| 35 | << "We advanced 10ms but didn't get a 10ms delta!"; |
| 36 | } |
| 37 | |
| 38 | TEST(Platform, Sleep) |
| 39 | { |
nothing calls this directly
no test coverage detected