svoid test_LongPriorityQueue() { LongPriorityQueue q = new(-1, (a, b) -> cmp(b, a)); q.add(3); q.add(1); q.add(10); q.add(100); q.add(-10); new L out; while (!q.isEmpty()) out.add(q.pop()); assertEqualsVerbose(ll(100L, 10L, 3L, 1L, -10L), out); }