summaryrefslogtreecommitdiff
path: root/deps/v8/test/unittests/base/logging-unittest.cc
blob: 918feb114bbbfdebd508600188acbcf38b7eff10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/base/logging.h"
#include "testing/gtest-support.h"

namespace v8 {
namespace base {

TEST(LoggingTest, CheckEQImpl) {
  EXPECT_EQ(nullptr, CheckEQImpl(0.0, 0.0, ""));
  EXPECT_EQ(nullptr, CheckEQImpl(0.0, -0.0, ""));
  EXPECT_EQ(nullptr, CheckEQImpl(-0.0, 0.0, ""));
  EXPECT_EQ(nullptr, CheckEQImpl(-0.0, -0.0, ""));
}

}  // namespace base
}  // namespace v8