You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
435 B

import 'package:flutter_test/flutter_test.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:tuple/tuple.dart';
void main() {
test('queue test', () {
final queue = HeapPriorityQueue<Tuple2<int, int>>((a, b) => a.item1.compareTo(b.item1));
queue.add(const Tuple2(5, 515));
queue.add(const Tuple2(3, 245));
queue.add(const Tuple2(8, 645));
queue.add(const Tuple2(2, 345));
});
}