Fix casting for os_time_test ULT

Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
John Falkowski
2021-03-27 13:21:33 -04:00
committed by Compute-Runtime-Automation
parent 218387dd47
commit 9fcf89aff6

View File

@@ -206,7 +206,7 @@ TEST_F(DrmTimeTest, givenGetDynamicDeviceTimerClockWhenIoctlFailsThenDefaultCloc
auto result = osTime->getDynamicDeviceTimerClock(*defaultHwInfo);
auto expectedResult = static_cast<uint64_t>(1000000000.0 / defaultResolution);
EXPECT_DOUBLE_EQ(result, expectedResult);
EXPECT_EQ(result, expectedResult);
}
TEST_F(DrmTimeTest, givenGetDynamicDeviceTimerClockWhenIoctlSucceedsThenNonDefaultClockIsReturned) {