lrn@google.com
|
dbdb16afb3
|
Reduce running time of nan_parse_test.
It times out on Dartium.
It was testing all combinations of whitespace around all test strings.
Now it just does it around some representable test strings, and only
test space characters around most strings.
Also add a few more tests.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//94173002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30749 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-28 08:57:04 +00:00 |
|
lrn@google.com
|
ef66be8610
|
Change Expect.identical(NaN, x) to not assume NaNs are identical.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//87953002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30667 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-26 10:32:51 +00:00 |
|
lrn@google.com
|
e1b4afa85d
|
Add num.parse.
The implementation is still primitive: It calls int.parse, then double.parse, and then fails if it hasn't found a result yet.
BUG= http://dartbug.com/8237
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30624
Review URL: https://codereview.chromium.org//85633003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30663 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-26 08:44:38 +00:00 |
|
lrn@google.com
|
f5bf3613dc
|
Revert "Add num.parse."
Fails on IE9.
Review URL: https://codereview.chromium.org//85623004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30631 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-25 14:52:23 +00:00 |
|
lrn@google.com
|
61e1c18e78
|
Add more tests.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//84993004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30628 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-25 13:50:09 +00:00 |
|
lrn@google.com
|
e0f3bb3092
|
Add num.parse.
The implementation is still primitive: It calls int.parse, then double.parse, and then fails if it hasn't found a result yet.
BUG= http://dartbug.com/8237
R=floitsch@google.com
Review URL: https://codereview.chromium.org//85633003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30624 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-25 13:09:04 +00:00 |
|