| 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 library set_test; | 5 library set_test; |
| 6 | 6 |
| 7 | 7 |
| 8 import 'package:expect/expect.dart'; | 8 import 'package:expect/expect.dart'; |
| 9 import "dart:collection"; | 9 import "dart:collection"; |
| 10 | 10 |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 testCESetFrom((x) => new LinkedHashSet<CE>.from(x)); | 516 testCESetFrom((x) => new LinkedHashSet<CE>.from(x)); |
| 517 testCESetFrom((x) => new SplayTreeSet<CE>.from(x)); | 517 testCESetFrom((x) => new SplayTreeSet<CE>.from(x)); |
| 518 | 518 |
| 519 testCESetFrom((x) => new SplayTreeSet<CE>.from(x, | 519 testCESetFrom((x) => new SplayTreeSet<CE>.from(x, |
| 520 customCompare(20), validKey)); | 520 customCompare(20), validKey)); |
| 521 testCESetFrom((x) => new SplayTreeSet<CE>.from(x, identityCompare)); | 521 testCESetFrom((x) => new SplayTreeSet<CE>.from(x, identityCompare)); |
| 522 | 522 |
| 523 testASetFrom((x) => new Set<A>.from(x)); | 523 testASetFrom((x) => new Set<A>.from(x)); |
| 524 testASetFrom((x) => new HashSet<A>.from(x)); | 524 testASetFrom((x) => new HashSet<A>.from(x)); |
| 525 testASetFrom((x) => new LinkedHashSet<A>.from(x)); | 525 testASetFrom((x) => new LinkedHashSet<A>.from(x)); |
| 526 testASetFrom((x) => new SplayTreeSet<A>.from(x)); | 526 testASetFrom((x) => new SplayTreeSet<A>.from(x, identityCompare)); |
| 527 } | 527 } |
| OLD | NEW |