Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Unified Diff: test/cctest/test-checks.cc

Issue 888613002: Initial switch to Chromium-style CHECK_* and DCHECK_* macros. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CHECK_NULL/NOT_NULL is back. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-bignum-dtoa.cc ('k') | test/cctest/test-circular-queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-checks.cc
diff --git a/test/cctest/test-checks.cc b/test/cctest/test-checks.cc
deleted file mode 100644
index bde0613db43fbab99a97b12bb37c227f227b7ffe..0000000000000000000000000000000000000000
--- a/test/cctest/test-checks.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2014 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/checks.h"
-
-#include "test/cctest/cctest.h"
-
-
-TEST(CheckEqualsZeroAndMinusZero) {
- CHECK_EQ(0.0, 0.0);
- CHECK_NE(0.0, -0.0);
- CHECK_NE(-0.0, 0.0);
- CHECK_EQ(-0.0, -0.0);
-}
-
-
-TEST(CheckEqualsReflexivity) {
- double inf = V8_INFINITY;
- double nan = std::numeric_limits<double>::quiet_NaN();
- double constants[] = {-nan, -inf, -3.1415, -1.0, -0.1, -0.0,
- 0.0, 0.1, 1.0, 3.1415, inf, nan};
- for (size_t i = 0; i < arraysize(constants); ++i) {
- CHECK_EQ(constants[i], constants[i]);
- }
-}
« no previous file with comments | « test/cctest/test-bignum-dtoa.cc ('k') | test/cctest/test-circular-queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698