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"; | 5 import "package:expect/expect.dart"; |
6 | 6 |
7 class FixedHashCode { | 7 class FixedHashCode { |
8 final int _hashCode; | 8 final int _hashCode; |
9 const FixedHashCode(this._hashCode); | 9 const FixedHashCode(this._hashCode); |
10 int get hashCode { | 10 int get hashCode { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 Expect.equals(true, identical(x, element)); | 137 Expect.equals(true, identical(x, element)); |
138 } | 138 } |
139 Expect.equals(true, foundIt); | 139 Expect.equals(true, foundIt); |
140 } | 140 } |
141 } | 141 } |
142 } | 142 } |
143 | 143 |
144 main() { | 144 main() { |
145 SetIteratorTest.testMain(); | 145 SetIteratorTest.testMain(); |
146 } | 146 } |
OLD | NEW |