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

Unified Diff: tests/corelib/double_parse_test.dart

Issue 1312893007: Split two string to double corner cases into a separate multitest. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/double_parse_test.dart
diff --git a/tests/corelib/double_parse_test.dart b/tests/corelib/double_parse_test.dart
index 5fb6e769290ec3ed05c839ada27108b0ac09426a..ffd1af49bea291894994b205004bd5aafe48ad31 100644
--- a/tests/corelib/double_parse_test.dart
+++ b/tests/corelib/double_parse_test.dart
@@ -368,24 +368,24 @@ void main() {
"8136843040991207538774075715754306035963544889052606784864342758"
"900428165258489343614201061427593231201171875",
5e-324);
- testParse("0.00000000000000000000000000000000000000000000000000000000000000"
- "0000000000000000000000000000000000000000000000000000000000000000"
- "0000000000000000000000000000000000000000000000000000000000000000"
- "0000000000000000000000000000000000000000000000000000000000000000"
- "0000000000000000000000000000000000000000000000000000000000000000"
- "0000074109846876186981626485318930233205854758970392148714663837"
- "8523751013260905313127797949754542453988569694847043168576596389"
- "9850655339096945981621940161728171894510697854671067917687257517"
- "7347315553307795408549809608457500958111373034747658096871009590"
- "9754422710047573078097111189357848386756539987835030152280559340"
- "4659373979179073872386829939581848166016912201945649993128979841"
- "1362062484498678713572180352209017023903285791732520220528974020"
- "8029068540216066123755499834026713000358124864790413857434018755"
- "2090159017259254714629617513415977493871857473787096164563890871"
- "8119841271673056017045493004705269590165763776884908267986972573"
- "3665217655679410725087643375608460039849049721491174630855395563"
- "54188641513168478436313080237596295773983001708984375",
- 1e-323);
+ testParse("0.00000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000074109846876186981626485318930233205854758970392148714663837" /// 02: ok
+ "8523751013260905313127797949754542453988569694847043168576596389" /// 02: ok
+ "9850655339096945981621940161728171894510697854671067917687257517" /// 02: ok
+ "7347315553307795408549809608457500958111373034747658096871009590" /// 02: ok
+ "9754422710047573078097111189357848386756539987835030152280559340" /// 02: ok
+ "4659373979179073872386829939581848166016912201945649993128979841" /// 02: ok
+ "1362062484498678713572180352209017023903285791732520220528974020" /// 02: ok
+ "8029068540216066123755499834026713000358124864790413857434018755" /// 02: ok
+ "2090159017259254714629617513415977493871857473787096164563890871" /// 02: ok
+ "8119841271673056017045493004705269590165763776884908267986972573" /// 02: ok
+ "3665217655679410725087643375608460039849049721491174630855395563" /// 02: ok
+ "54188641513168478436313080237596295773983001708984375", /// 02: ok
+ 1e-323); /// 02: ok
testParse("0.00000000000000000000000000000000000000000000000000000000000000"
"0000000000000000000000000000000000000000000000000000000000000000"
"0000000000000000000000000000000000000000000000000000000000000000"
@@ -560,24 +560,24 @@ void main() {
"8136843040991207538774075715754306035963544889052606784864342758"
"900428165258489343614201061427593231201171875",
1.112536929253601e-308);
- testParse("0.00000000000000000000000000000000000000000000000000000000000000"
- "0000000000000000000000000000000000000000000000000000000000000000"
- "0000000000000000000000000000000000000000000000000000000000000000"
- "0000000000000000000000000000000000000000000000000000000000000000"
- "0000000000000000000000000000000000000000000000000000011125369292"
- "5360143264358512053601829696279729256322446286636762993074885578"
- "5482848940402484819383308231788212319506475197423260249353326444"
- "4130717265985540087275830129388183546908748591883986098046865342"
- "9694440740018214171090142139290408905547397593746087678853434622"
- "7708807769200010477987555066232823112546765790360487852208850575"
- "8752599546868752897347409845010678425979078962517411943872958339"
- "1841626929078828345647733525524686707077165117383988808631340302"
- "3919811372391502185169818655049136406061931820528945258278945377"
- "2640279824496362807465448266116748919295441238296611971177785355"
- "4605209927839760366494651758097211936470402475783551200969719627"
- "9349765358747644509438842714766105380341358326953487329219653376"
- "04188641513168478436313080237596295773983001708984375",
- 1.1125369292536017e-308);
+ testParse("0.00000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000000000000000000000000000000000000000000000000000000000000000" /// 02: ok
+ "0000000000000000000000000000000000000000000000000000011125369292" /// 02: ok
+ "5360143264358512053601829696279729256322446286636762993074885578" /// 02: ok
+ "5482848940402484819383308231788212319506475197423260249353326444" /// 02: ok
+ "4130717265985540087275830129388183546908748591883986098046865342" /// 02: ok
+ "9694440740018214171090142139290408905547397593746087678853434622" /// 02: ok
+ "7708807769200010477987555066232823112546765790360487852208850575" /// 02: ok
+ "8752599546868752897347409845010678425979078962517411943872958339" /// 02: ok
+ "1841626929078828345647733525524686707077165117383988808631340302" /// 02: ok
+ "3919811372391502185169818655049136406061931820528945258278945377" /// 02: ok
+ "2640279824496362807465448266116748919295441238296611971177785355" /// 02: ok
+ "4605209927839760366494651758097211936470402475783551200969719627" /// 02: ok
+ "9349765358747644509438842714766105380341358326953487329219653376" /// 02: ok
+ "04188641513168478436313080237596295773983001708984375", /// 02: ok
+ 1.1125369292536017e-308); /// 02: ok
testParse("0.00000000000000000000000000000000000000000000000000000000000000"
"0000000000000000000000000000000000000000000000000000000000000000"
"0000000000000000000000000000000000000000000000000000000000000000"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698