blob: 2ba61c3236905f72cff59524b23a009bc630892e [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);
}