blob: 103c0188f93b373ebedef04f02a56432979c4b56 [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 bool every(bool f(E element))
* @description Checks that method always returns [true] on an empty list.
* @author kaigorodov
*/
import "dart:collection";
import "../../../Utils/expect.dart";
import "LinkedList.lib.dart";
main() {
Expect.isTrue(new LinkedList<MyLinkedListEntry>().every((var v) => true));
}