| 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 | 4 |
| 5 import "package:expect/expect.dart"; |
| 6 |
| 5 class FixedHashCode { | 7 class FixedHashCode { |
| 6 final int _hashCode; | 8 final int _hashCode; |
| 7 const FixedHashCode(this._hashCode); | 9 const FixedHashCode(this._hashCode); |
| 8 int get hashCode { return _hashCode; } | 10 int get hashCode { return _hashCode; } |
| 9 } | 11 } |
| 10 | 12 |
| 11 class SetIteratorTest { | 13 class SetIteratorTest { |
| 12 static testMain() { | 14 static testMain() { |
| 13 testSmallSet(); | 15 testSmallSet(); |
| 14 testLargeSet(); | 16 testLargeSet(); |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 Expect.equals(true, identical(x, element)); | 133 Expect.equals(true, identical(x, element)); |
| 132 } | 134 } |
| 133 Expect.equals(true, foundIt); | 135 Expect.equals(true, foundIt); |
| 134 } | 136 } |
| 135 } | 137 } |
| 136 } | 138 } |
| 137 | 139 |
| 138 main() { | 140 main() { |
| 139 SetIteratorTest.testMain(); | 141 SetIteratorTest.testMain(); |
| 140 } | 142 } |
| OLD | NEW |