Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: test/priority_queue_test.dart

Issue 1638163002: Modernize the package's style. (Closed) Base URL: git@github.com:dart-lang/collection@master
Patch Set: Code review changes Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/iterable_zip_test.dart ('k') | test/unmodifiable_collection_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/priority_queue_test.dart
diff --git a/test/priority_queue_test.dart b/test/priority_queue_test.dart
index cda07489bd7f2431ee345fa0888a2c2cb8f93a90..c6966d6cda0052efd8ec0069172f1cfdde0b7f9d 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() {
testDefault();
testInt(() => new HeapPriorityQueue<int>());
@@ -48,11 +49,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));
}
« no previous file with comments | « test/iterable_zip_test.dart ('k') | test/unmodifiable_collection_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698