blob: 70714d1a04b8052b2c7d817eb5c74f6c010efc38 [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.
// @dart = 2.9
/// @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);
}