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

Side by Side Diff: tests/lib/math/math_parse_double_test.dart

Issue 2957593002: Spelling fixes e to i. (Closed)
Patch Set: Created 3 years, 5 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // We temporarily test both the new math library and the old Math 5 // We temporarily test both the new math library and the old Math
6 // class. This can easily be simplified once we get rid of the Math 6 // class. This can easily be simplified once we get rid of the Math
7 // class entirely. 7 // class entirely.
8 library math_parse_double_test; 8 library math_parse_double_test;
9 9
10 import "package:expect/expect.dart"; 10 import "package:expect/expect.dart";
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 [0.0, "2e-324"], // underflow 0.0 68 [0.0, "2e-324"], // underflow 0.0
69 [0.9999999999999999, "0.9999999999999999"], // max below 1 69 [0.9999999999999999, "0.9999999999999999"], // max below 1
70 [1.0, "1.00000000000000005"], // 1.0 70 [1.0, "1.00000000000000005"], // 1.0
71 [1.0000000000000002, "1.0000000000000002"], // min above 1 71 [1.0000000000000002, "1.0000000000000002"], // min above 1
72 [2147483647.0, "2147483647"], // max int32 72 [2147483647.0, "2147483647"], // max int32
73 [2147483647.0000002, "2147483647.0000002"], // min not int32 73 [2147483647.0000002, "2147483647.0000002"], // min not int32
74 [2147483648.0, "2147483648"], // min int not int32 74 [2147483648.0, "2147483648"], // min int not int32
75 [4295967295.0, "4295967295"], // max uint32 75 [4295967295.0, "4295967295"], // max uint32
76 [4295967295.000001, "4295967295.000001"], // min not uint-32 76 [4295967295.000001, "4295967295.000001"], // min not uint-32
77 [4295967296.0, "4295967296"], // min int not-uint32 77 [4295967296.0, "4295967296"], // min int not-uint32
78 [1.7976931348623157e+308, "1.7976931348623157e+308"], // Max finit 78 [1.7976931348623157e+308, "1.7976931348623157e+308"], // Max finite
79 [1.7976931348623157e+308, "1.7976931348623158e+308"], // Max finit 79 [1.7976931348623157e+308, "1.7976931348623158e+308"], // Max finite
80 [double.INFINITY, "1.7976931348623159e+308"], // Infinity 80 [double.INFINITY, "1.7976931348623159e+308"], // Infinity
81 [.049999999999999994, ".049999999999999994"], // not 0.5 81 [.049999999999999994, ".049999999999999994"], // not 0.5
82 [.05, ".04999999999999999935"], 82 [.05, ".04999999999999999935"],
83 [4503599627370498.0, "4503599627370497.5"], 83 [4503599627370498.0, "4503599627370497.5"],
84 [1.2345678901234568e+39, "1234567890123456898981341324213421342134"], 84 [1.2345678901234568e+39, "1234567890123456898981341324213421342134"],
85 [9.87291183742987e+24, "9872911837429871193379121"], 85 [9.87291183742987e+24, "9872911837429871193379121"],
86 [1e21, "1e+21"], 86 [1e21, "1e+21"],
87 ]; 87 ];
88 88
89 void main() { 89 void main() {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 parseDoubleThrowsFormatException("-0x00000ABCDEF"); 161 parseDoubleThrowsFormatException("-0x00000ABCDEF");
162 parseDoubleThrowsFormatException(" 0x00000abcdef "); 162 parseDoubleThrowsFormatException(" 0x00000abcdef ");
163 parseDoubleThrowsFormatException(" 0x00000ABCDEF "); 163 parseDoubleThrowsFormatException(" 0x00000ABCDEF ");
164 parseDoubleThrowsFormatException(" -0x00000abcdef "); 164 parseDoubleThrowsFormatException(" -0x00000abcdef ");
165 parseDoubleThrowsFormatException(" -0x00000ABCDEF "); 165 parseDoubleThrowsFormatException(" -0x00000ABCDEF ");
166 parseDoubleThrowsFormatException(" -INFINITY "); 166 parseDoubleThrowsFormatException(" -INFINITY ");
167 parseDoubleThrowsFormatException(" NAN "); 167 parseDoubleThrowsFormatException(" NAN ");
168 parseDoubleThrowsFormatException(" inf "); 168 parseDoubleThrowsFormatException(" inf ");
169 parseDoubleThrowsFormatException(" nan "); 169 parseDoubleThrowsFormatException(" nan ");
170 } 170 }
OLDNEW
« no previous file with comments | « tests/lib/async/zone_bind_callback_unary_test.dart ('k') | tests/lib_strong/async/stream_state_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698