OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library queue.test; | 5 library queue.test; |
6 | 6 |
7 import "package:expect/expect.dart"; | 7 import "package:expect/expect.dart"; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
10 abstract class QueueTest { | 10 abstract class QueueTest { |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 Expect.equals(null, prev.previousEntry()); | 479 Expect.equals(null, prev.previousEntry()); |
480 | 480 |
481 Expect.equals(87, prev.remove()); | 481 Expect.equals(87, prev.remove()); |
482 } | 482 } |
483 | 483 |
484 main() { | 484 main() { |
485 new DoubleLinkedQueueTest().testMain(); | 485 new DoubleLinkedQueueTest().testMain(); |
486 new ListQueueTest().testMain(); | 486 new ListQueueTest().testMain(); |
487 linkEntryTest(); | 487 linkEntryTest(); |
488 } | 488 } |
OLD | NEW |