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 // VMOptions=--max_deoptimization_counter_threshold=1000 --optimization-counter-
threshold=10 --no-background-compilation | 4 // VMOptions=--max_deoptimization_counter_threshold=1000 --optimization-counter-
threshold=10 --no-background-compilation |
| 5 // VMOptions=--no-intrinsify |
5 | 6 |
6 library float64x2_functional_test; | 7 library float64x2_functional_test; |
7 | 8 |
8 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
9 import "package:expect/expect.dart"; | 10 import "package:expect/expect.dart"; |
10 | 11 |
11 testConstructor() { | 12 testConstructor() { |
12 var a = new Float64x2(1.0, 2.0); | 13 var a = new Float64x2(1.0, 2.0); |
13 Expect.equals(1.0, a.x); | 14 Expect.equals(1.0, a.x); |
14 Expect.equals(2.0, a.y); | 15 Expect.equals(2.0, a.y); |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 testSqrt(); | 286 testSqrt(); |
286 testTypedList(); | 287 testTypedList(); |
287 testTypedListFromList(); | 288 testTypedListFromList(); |
288 testTypedListFromTypedList(); | 289 testTypedListFromTypedList(); |
289 testTypedListView(); | 290 testTypedListView(); |
290 testTypedListFullView(); | 291 testTypedListFullView(); |
291 testSubList(); | 292 testSubList(); |
292 testSubView(); | 293 testSubView(); |
293 } | 294 } |
294 } | 295 } |
OLD | NEW |