blob: 508d3c67c4f5d6660948d5678be08c63a4c32105 [file] [log] [blame]
// Copyright (c) 2016, 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 abstract class SetMixin<K, V>
* Mixin implementation of [Set].
* @description Checks that all members of [Set] are implemented.
* @author sgrekhov@unipro.ru
*/
import "dart:collection";
import "SetMixin.lib.dart";
import "inherited_tests.lib.dart" as set_tests;
SetMixin create([Iterable? content]) {
if (content == null) {
return new SetMixinImpl();
} else {
return new SetMixinImpl.from(content);
}
}
main() {
set_tests.test(create);
}