OLD | NEW |
| (Empty) |
1 // Copyright 2015 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "src/base/logging.h" | |
6 #include "testing/gtest-support.h" | |
7 | |
8 namespace v8 { | |
9 namespace base { | |
10 | |
11 TEST(LoggingTest, CheckEQImpl) { | |
12 EXPECT_EQ(nullptr, CheckEQImpl(0.0, 0.0, "")); | |
13 EXPECT_EQ(nullptr, CheckEQImpl(0.0, -0.0, "")); | |
14 EXPECT_EQ(nullptr, CheckEQImpl(-0.0, 0.0, "")); | |
15 EXPECT_EQ(nullptr, CheckEQImpl(-0.0, -0.0, "")); | |
16 } | |
17 | |
18 } // namespace base | |
19 } // namespace v8 | |
OLD | NEW |