diff --git a/shared/test/unit_test/helpers/hw_info_tests.cpp b/shared/test/unit_test/helpers/hw_info_tests.cpp index 7f05404986..b15027ca47 100644 --- a/shared/test/unit_test/helpers/hw_info_tests.cpp +++ b/shared/test/unit_test/helpers/hw_info_tests.cpp @@ -5,7 +5,6 @@ * */ -#include "shared/source/helpers/basic_math.h" #include "shared/source/helpers/hw_info.h" #include "shared/test/common/test_macros/test.h" @@ -45,6 +44,6 @@ TEST(HwInfoTest, givenHwInfoWhenQueryNumSubSlicesPerSliceThenCorrectNumberIsRetu HardwareInfo hwInfo{}; hwInfo.gtSystemInfo.SliceCount = 2; hwInfo.gtSystemInfo.SubSliceCount = 7; - auto expectedNumSubSlicesPerSlice = static_cast(Math::divideAndRoundUp(hwInfo.gtSystemInfo.SubSliceCount, hwInfo.gtSystemInfo.SliceCount)); + uint32_t expectedNumSubSlicesPerSlice = 4; EXPECT_EQ(getNumSubSlicesPerSlice(hwInfo), expectedNumSubSlicesPerSlice); }