| 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 // Testing Bigints. | 4 // Testing Bigints. |
| 5 | 5 |
| 6 library bit_twiddling_test; | 6 library bit_twiddling_test; |
| 7 | 7 |
| 8 import "package:expect/expect.dart"; | 8 import "package:expect/expect.dart"; |
| 9 | 9 |
| 10 bool haveBigints() { | 10 bool haveBigints() { |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 checkS(2, 3, 2); | 164 checkS(2, 3, 2); |
| 165 checkS(3, 3, 3); | 165 checkS(3, 3, 3); |
| 166 checkS(4, 3, -4); | 166 checkS(4, 3, -4); |
| 167 } | 167 } |
| 168 | 168 |
| 169 main() { | 169 main() { |
| 170 testBitLength(); | 170 testBitLength(); |
| 171 testToUnsigned(); | 171 testToUnsigned(); |
| 172 testToSigned(); | 172 testToSigned(); |
| 173 } | 173 } |
| OLD | NEW |