blob: f85d4edc5f0461f9814a68e758cc50ea54c79228 [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 List<E> abstract class
* Implements Iterable<E>
* @description Checks that the class List fully implements Iterable.
* @author kaigorodov
*/
import "../../core/Iterable/allTests.lib.dart";
Iterable create([Iterable? content]) {
if (content == null) {
return new List.empty();
} else {
return new List.from(content);
}
}
main() {
test(create);
}