Index: test/priority_queue_test.dart |
diff --git a/test/priority_queue_test.dart b/test/priority_queue_test.dart |
index 264bf94fbdd5f5658c3407cbf9a599385b810f4d..3d1fe6ef50046896120409c9bca06362857dd32e 100644 |
--- a/test/priority_queue_test.dart |
+++ b/test/priority_queue_test.dart |
@@ -4,9 +4,10 @@ |
/// Tests priority queue implementations utilities. |
-import "package:collection/priority_queue.dart"; |
import "package:test/test.dart"; |
+import "package:collection/priority_queue.dart"; |
+ |
void main() { |
testInt(() => new HeapPriorityQueue<int>()); |
testCustom((comparator) => new HeapPriorityQueue<C>(comparator)); |
@@ -38,11 +39,9 @@ void testCustom(PriorityQueue<C> create(comparator)) { |
} |
} |
-/** |
- * Test that a queue behaves correctly. |
- * |
- * The elements must be in priority order, from highest to lowest. |
- */ |
+/// Test that a queue behaves correctly. |
+/// |
+/// The elements must be in priority order, from highest to lowest. |
void testQueue(String name, PriorityQueue create(), List elements, notElement) { |
test(name, () => testQueueBody(create, elements, notElement)); |
} |