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

Unified Diff: test/mjsunit/harmony/math-tau.js

Issue 358423003: Implement the `Math.TAU` constant. Base URL: git@github.com:v8/v8.git@master
Patch Set: Created 6 years, 6 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 | « src/harmony-math.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/math-tau.js
diff --git a/test/mjsunit/regress/regress-debug-context-load.js b/test/mjsunit/harmony/math-tau.js
similarity index 61%
copy from test/mjsunit/regress/regress-debug-context-load.js
copy to test/mjsunit/harmony/math-tau.js
index 0b3c275f99b016825cd563a700772bbddb7e4bad..53ceb77221aec5b567a2965c1d858b6ef75463ef 100644
--- a/test/mjsunit/regress/regress-debug-context-load.js
+++ b/test/mjsunit/harmony/math-tau.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --expose-debug-as debug
+// Flags: --harmony-maths
-Debug = debug.Debug;
-Debug.setListener(null);
+assertEquals(Math.PI * 2, Math.TAU);
+assertEquals(6.283185307179586, Math.TAU);
« no previous file with comments | « src/harmony-math.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698