diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-05-02 22:47:04 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-05-29 21:44:41 -0400 |
| commit | 49b0eef393f4d321928fb0b6093d58a7637cf1da (patch) | |
| tree | 741357c06acd966494684f8fdd4ec89e961d9887 /Source/UnitTests/Common/CommonFuncsTest.cpp | |
| parent | 30973459292d734fac12d1fefaf98edf37ad7976 (diff) | |
Remove the min/max functions in CommonFuncs.
The algorithm header has the same functions.
Diffstat (limited to 'Source/UnitTests/Common/CommonFuncsTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/CommonFuncsTest.cpp | 9 |
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)); |
