OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 // Dart test program for testing native int arrays. | 5 // Dart test program for testing native int arrays. |
6 | 6 |
7 // Library tag to be able to run in html test framework. | 7 // Library tag to be able to run in html test framework. |
8 library IntArrayTest; | 8 library IntArrayTest; |
9 | 9 |
10 import "package:expect/expect.dart"; | 10 import "package:expect/expect.dart"; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 testUint64ToSmi(); | 130 testUint64ToSmi(); |
131 for (int i = 0; i < 2000; i++) { | 131 for (int i = 0; i < 2000; i++) { |
132 testInt16(); | 132 testInt16(); |
133 testUint16(); | 133 testUint16(); |
134 testInt32ToSmi(); | 134 testInt32ToSmi(); |
135 testUint32ToSmi(); | 135 testUint32ToSmi(); |
136 testInt64ToSmi(); | 136 testInt64ToSmi(); |
137 testUint64ToSmi(); | 137 testUint64ToSmi(); |
138 } | 138 } |
139 } | 139 } |
OLD | NEW |