blob: 918feb114bbbfdebd508600188acbcf38b7eff10 [file] [log] [blame]
Ben Murdoch4a90d5f2016-03-22 12:00:34 +00001// 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
8namespace v8 {
9namespace base {
10
11TEST(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