blob: 3a89cef8921b0b220b814e3a0f6144e0520ad0e1 [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));