Remove the min/max functions in CommonFuncs.
The algorithm header has the same functions.
This commit is contained in:
1 parent
3097345929
commit
49b0eef393
29 files changed
+104
-99
No files matched your search
@@ -28,15 +28,6 @@ TEST(CommonFuncs, CrashMacro)
|
||||
EXPECT_DEATH({ Crash(); }, "");
|
||||
}
|
||||
|
||||
TEST(CommonFuncs, MinMax)
|
||||
{
|
||||
EXPECT_EQ(4, min(4, 5));
|
||||
EXPECT_EQ(-1, min(-1, 1));
|
||||
|
||||
EXPECT_EQ(5, max(4, 5));
|
||||
EXPECT_EQ(1, max(-1, 1));
|
||||
}
|
||||
|
||||
TEST(CommonFuncs, Swap)
|
||||
{
|
||||
EXPECT_EQ(0xf0, Common::swap8(0xf0));
|
||||
|
||||
Reference in new issue
Block a user