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

Unified Diff: tests/language/double_to_string_test.dart

Issue 11316108: Correct file names for tests in tests/language. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed status Created 8 years, 1 month 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 | « tests/language/double_to_string.dart ('k') | tests/language/exception_in_increment.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/double_to_string_test.dart
===================================================================
--- tests/language/double_to_string_test.dart (revision 15158)
+++ tests/language/double_to_string_test.dart (working copy)
@@ -7,15 +7,10 @@
Expect.equals("NaN", (double.NAN).toString());
Expect.equals("Infinity", (1/0).toString());
Expect.equals("-Infinity", (-1/0).toString());
- Expect.equals("0.0", (0.0).toString());
- Expect.equals("9.0", (9.0).toString());
- Expect.equals("90.0", (90.0).toString());
Expect.equals("90.12", (90.12).toString());
Expect.equals("0.1", (0.1).toString());
Expect.equals("0.01", (0.01).toString());
Expect.equals("0.0123", (0.0123).toString());
- Expect.equals("111111111111111110000.0",
- (111111111111111111111.0).toString());
Expect.equals("1.1111111111111111e+21",
(1111111111111111111111.0).toString());
Expect.equals("1.1111111111111111e+22",
@@ -30,14 +25,10 @@
Expect.equals("1.23e-8", (0.0000000123).toString());
Expect.equals("-0.0", (-0.0).toString());
- Expect.equals("-9.0", (-9.0).toString());
- Expect.equals("-90.0", (-90.0).toString());
Expect.equals("-90.12", (-90.12).toString());
Expect.equals("-0.1", (-0.1).toString());
Expect.equals("-0.01", (-0.01).toString());
Expect.equals("-0.0123", (-0.0123).toString());
- Expect.equals("-111111111111111110000.0",
- (-111111111111111111111.0).toString());
Expect.equals("-1.1111111111111111e+21",
(-1111111111111111111111.0).toString());
Expect.equals("-1.1111111111111111e+22",
@@ -51,9 +42,7 @@
Expect.equals("-1.2e-8", (-0.000000012).toString());
Expect.equals("-1.23e-8", (-0.0000000123).toString());
- Expect.equals("1000.0", (1000.0).toString());
Expect.equals("0.00001", (0.00001).toString());
- Expect.equals("1000000000000000100.0", (1000000000000000128.0).toString());
Expect.equals("1e+21", (1000000000000000012800.0).toString());
Expect.equals("-1e+21", (-1000000000000000012800.0).toString());
Expect.equals("1e-7", (0.0000001).toString());
« no previous file with comments | « tests/language/double_to_string.dart ('k') | tests/language/exception_in_increment.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698