mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
Fix casting for os_time_test ULT
Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
218387dd47
commit
9fcf89aff6
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user