| OLD | NEW |
| 1 // Copyright (c) 2014 the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014 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 // VMOptions=--no-use-field-guards | 4 // VMOptions=--no-use-field-guards |
| 5 // VMOptions= | 5 // VMOptions= |
| 6 | 6 |
| 7 import "dart:math" show pow; | 7 import "dart:math" show pow; |
| 8 import "package:expect/expect.dart"; | 8 import "package:expect/expect.dart"; |
| 9 | 9 |
| 10 const whiteSpace = const [ | 10 const whiteSpace = const [ |
| 11 "", | 11 "", |
| 12 "\x09", | 12 "\x09", |
| 13 "\x0a", | 13 "\x0a", |
| 14 "\x0b", | 14 "\x0b", |
| 15 "\x0c", | 15 "\x0c", |
| 16 "\x0d", | 16 "\x0d", |
| 17 "\x85", /// 01: ok | 17 "\x85", /// 01: ok |
| 18 "\xa0", | 18 "\xa0", |
| 19 "\u1680", | 19 "\u1680", |
| 20 "\u180e", |
| 20 "\u2000", | 21 "\u2000", |
| 21 "\u2001", | 22 "\u2001", |
| 22 "\u2002", | 23 "\u2002", |
| 23 "\u2003", | 24 "\u2003", |
| 24 "\u2004", | 25 "\u2004", |
| 25 "\u2005", | 26 "\u2005", |
| 26 "\u2006", | 27 "\u2006", |
| 27 "\u2007", | 28 "\u2007", |
| 28 "\u2008", | 29 "\u2008", |
| 29 "\u2009", | 30 "\u2009", |
| (...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1150 testFail("INFINITY"); | 1151 testFail("INFINITY"); |
| 1151 testFail("1.#INF"); | 1152 testFail("1.#INF"); |
| 1152 testFail("inf"); | 1153 testFail("inf"); |
| 1153 testFail("nan"); | 1154 testFail("nan"); |
| 1154 testFail("NAN"); | 1155 testFail("NAN"); |
| 1155 testFail("1.#IND"); | 1156 testFail("1.#IND"); |
| 1156 testFail("indef"); | 1157 testFail("indef"); |
| 1157 testFail("qnan"); | 1158 testFail("qnan"); |
| 1158 testFail("snan"); | 1159 testFail("snan"); |
| 1159 } | 1160 } |
| OLD | NEW |