blob: 998bc8f235cbc9ea561737c2eaf8fc39c1966f7a [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));
}