From 5631ca681f4eb96d3151e5e1cfd013e1cd46654e Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 22 Aug 2025 20:50:32 +1000 Subject: [PATCH] [orc-rt] Fix test names in Math.h unit tests. --- orc-rt/unittests/MathTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orc-rt/unittests/MathTest.cpp b/orc-rt/unittests/MathTest.cpp index c55e4f5edf80..f64aacd09247 100644 --- a/orc-rt/unittests/MathTest.cpp +++ b/orc-rt/unittests/MathTest.cpp @@ -15,7 +15,7 @@ using namespace orc_rt; -TEST(STLExtrasTest, isPowerOf2) { +TEST(MathTest, isPowerOf2) { // Test [0..16] EXPECT_FALSE(isPowerOf2(0x00)); EXPECT_TRUE(isPowerOf2(0x01)); @@ -57,7 +57,7 @@ TEST(STLExtrasTest, isPowerOf2) { EXPECT_FALSE(isPowerOf2(-1)); } -TEST(STLExtrasTest, nextPowerOf2) { +TEST(MathTest, nextPowerOf2) { EXPECT_EQ(nextPowerOf2(0x00), (1 << 0)); EXPECT_EQ(nextPowerOf2(0x01), (1 << 1)); EXPECT_EQ(nextPowerOf2(0x02), (1 << 2));