c65ae4f10c
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/877753007 Cr-Commit-Position: refs/heads/master@{#26346}
20 lines
543 B
C++
20 lines
543 B
C++
// 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
|