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 |
| 5 // VMOptions= |
4 | 6 |
5 import "dart:math" show pow; | 7 import "dart:math" show pow; |
6 import "package:expect/expect.dart"; | 8 import "package:expect/expect.dart"; |
7 | 9 |
8 const whiteSpace = const [ | 10 const whiteSpace = const [ |
9 "", | 11 "", |
10 "\x09", | 12 "\x09", |
11 "\x0a", | 13 "\x0a", |
12 "\x0b", | 14 "\x0b", |
13 "\x0c", | 15 "\x0c", |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 testFail("INFINITY"); | 1151 testFail("INFINITY"); |
1150 testFail("1.#INF"); | 1152 testFail("1.#INF"); |
1151 testFail("inf"); | 1153 testFail("inf"); |
1152 testFail("nan"); | 1154 testFail("nan"); |
1153 testFail("NAN"); | 1155 testFail("NAN"); |
1154 testFail("1.#IND"); | 1156 testFail("1.#IND"); |
1155 testFail("indef"); | 1157 testFail("indef"); |
1156 testFail("qnan"); | 1158 testFail("qnan"); |
1157 testFail("snan"); | 1159 testFail("snan"); |
1158 } | 1160 } |
OLD | NEW |