blob: a9ee75274d2dd27f285b01d283fa2cdda7211fc7 [file] [log] [blame]
/*
* Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion LinkedHashSet<E> class implements Set<E>
* A [LinkedHashSet] is a hash-table based [Set] implementation.
* @description Checks that all members of [Set] are implemented.
* @author kaigorodov
*/
import "dart:collection";
import "../HashSet/inherited_tests.lib.dart";
Set create([Iterable content]) {
LinkedHashSet res = new LinkedHashSet();
if (content != null) {
res.addAll(content);
}
return res;
}
main() {
test(create);
}