2015-01-30 09:29:25 +00:00
|
|
|
// 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) {
|
2016-11-24 23:02:51 +00:00
|
|
|
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, ""));
|
2015-01-30 09:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace base
|
|
|
|
} // namespace v8
|