blob: 0389271f0659ac2cbb2565afc560ab8bf16a8c78 [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 List<E> abstract class
* @description Checks that List-specific methods work as specified.
* @author kaigorodov
*/
import "dart:collection";
import "allListTests.lib.dart";
List create([int length=null]) {
if (length==null) {
return new List();
} else {
return new List(length);
}
}
main() {
test(create);
}