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

Side by Side Diff: tests/corelib/math_test.dart

Issue 10244009: test rename overhaul: step 7 - corelib tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class MathTest { 5 class MathTest {
6 static void testConstants() { 6 static void testConstants() {
7 // Source for mathematical constants is Wolfram Alpha. 7 // Source for mathematical constants is Wolfram Alpha.
8 Expect.equals(2.7182818284590452353602874713526624977572470936999595749669, 8 Expect.equals(2.7182818284590452353602874713526624977572470936999595749669,
9 Math.E); 9 Math.E);
10 Expect.equals(2.3025850929940456840179914546843642076011014886287729760333, 10 Expect.equals(2.3025850929940456840179914546843642076011014886287729760333,
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 testLog(); 248 testLog();
249 testExp(); 249 testExp();
250 testPow(); 250 testPow();
251 testParseInt(); 251 testParseInt();
252 } 252 }
253 } 253 }
254 254
255 main() { 255 main() {
256 MathTest.testMain(); 256 MathTest.testMain();
257 } 257 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698