summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/CommonFuncsTest.cpp
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2014-05-29 20:10:01 -0700
committershuffle2 <godisgovernment@gmail.com>2014-05-29 20:10:01 -0700
commit8fc83d8ffca75f86c144a7798ebf0661a1eb68ef (patch)
tree741357c06acd966494684f8fdd4ec89e961d9887 /Source/UnitTests/Common/CommonFuncsTest.cpp
parent30973459292d734fac12d1fefaf98edf37ad7976 (diff)
parent49b0eef393f4d321928fb0b6093d58a7637cf1da (diff)
Merge pull request #334 from lioncash/use-std-minmax
Remove the min/max functions in CommonFuncs.
Diffstat (limited to 'Source/UnitTests/Common/CommonFuncsTest.cpp')
-rw-r--r--Source/UnitTests/Common/CommonFuncsTest.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/UnitTests/Common/CommonFuncsTest.cpp b/Source/UnitTests/Common/CommonFuncsTest.cpp
index 285b5f253e..5fced4c5aa 100644
--- a/Source/UnitTests/Common/CommonFuncsTest.cpp
+++ b/Source/UnitTests/Common/CommonFuncsTest.cpp
@@ -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));