blob: 4d42be720105003017a0e44db5541beef271ffc2 [file] [log] [blame]
/*
* Copyright (c) 2011, 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 Set<E> abstract class
* Implements Iterable<E>
* @description Checks that all members of [Iterable] are implemented.
* @author kaigorodov
*/
import "dart:collection";
import "../../collection/IterableBase/allTests.lib.dart";
Iterable create([Iterable content]) {
Set res = new Set();
if (content!=null) {
res.addAll(content);
}
return res;
}
main() {
test(create, isSet:true);
}