| OLD | NEW | 
|---|
| 1 // Copyright (c) 2011, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // TODO(srdjan): Make sure the numbers are Bigint and not Mint or Smi. | 5 // TODO(srdjan): Make sure the numbers are Bigint and not Mint or Smi. | 
| 6 | 6 | 
| 7 #library("BigIntegerTest.dart"); | 7 #library("BigIntegerTest.dart"); | 
| 8 #import("dart:coreimpl"); | 8 #import("dart:coreimpl"); | 
| 9 | 9 | 
| 10 class BigIntegerTest { | 10 class BigIntegerTest { | 
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 167     checkBigint(a); | 167     checkBigint(a); | 
| 168     checkBigint(b); | 168     checkBigint(b); | 
| 169     Expect.equals(false, a.hashCode() == b.hashCode()); | 169     Expect.equals(false, a.hashCode() == b.hashCode()); | 
| 170     Expect.equals(true, a.hashCode() == (b - 1).hashCode()); | 170     Expect.equals(true, a.hashCode() == (b - 1).hashCode()); | 
| 171   } | 171   } | 
| 172 } | 172 } | 
| 173 | 173 | 
| 174 main() { | 174 main() { | 
| 175   BigIntegerTest.testMain(); | 175   BigIntegerTest.testMain(); | 
| 176 } | 176 } | 
| OLD | NEW | 
|---|