OLD | NEW |
1 // Copyright (c) 2013 the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013 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 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
6 | 6 |
7 const whiteSpace = const [ | 7 const whiteSpace = const [ |
8 "", | 8 "", |
9 "\x09", | 9 "\x09", |
10 "\x0a", | 10 "\x0a", |
11 "\x0b", | 11 "\x0b", |
12 "\x0c", | 12 "\x0c", |
13 "\x0d", | 13 "\x0d", |
14 "\x85", | 14 "\x85", |
15 "\xa0", | 15 "\xa0", |
16 "\u1680", | 16 "\u1680", |
17 "\u180e", | |
18 "\u2000", | 17 "\u2000", |
19 "\u2001", | 18 "\u2001", |
20 "\u2002", | 19 "\u2002", |
21 "\u2003", | 20 "\u2003", |
22 "\u2004", | 21 "\u2004", |
23 "\u2005", | 22 "\u2005", |
24 "\u2006", | 23 "\u2006", |
25 "\u2007", | 24 "\u2007", |
26 "\u2008", | 25 "\u2008", |
27 "\u2009", | 26 "\u2009", |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 testFail("INFINITY"); | 225 testFail("INFINITY"); |
227 testFail("1.#INF"); | 226 testFail("1.#INF"); |
228 testFail("inf"); | 227 testFail("inf"); |
229 testFail("nan"); | 228 testFail("nan"); |
230 testFail("NAN"); | 229 testFail("NAN"); |
231 testFail("1.#IND"); | 230 testFail("1.#IND"); |
232 testFail("indef"); | 231 testFail("indef"); |
233 testFail("qnan"); | 232 testFail("qnan"); |
234 testFail("snan"); | 233 testFail("snan"); |
235 } | 234 } |
OLD | NEW |