diff options
Diffstat (limited to 'tests/testpriorityqueue.vala')
-rw-r--r-- | tests/testpriorityqueue.vala | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/testpriorityqueue.vala b/tests/testpriorityqueue.vala index cbeac2f..676a814 100644 --- a/tests/testpriorityqueue.vala +++ b/tests/testpriorityqueue.vala @@ -26,8 +26,6 @@ public class PriorityQueueTests : QueueTests { public PriorityQueueTests () { base ("PriorityQueue"); - add_test ("[PriorityQueue] selected functions", test_selected_functions); - add_test ("[PriorityQueue] GObject properties", test_gobject_properties); add_test ("[PriorityQueue] poll gives minimum", test_poll_gives_minimum); } @@ -39,29 +37,6 @@ public class PriorityQueueTests : QueueTests { test_collection = null; } - private void test_selected_functions () { - var test_queue = test_collection as PriorityQueue<string>; - - // Check the queue exists - assert (test_queue != null); - - // Check the selected compare function - assert (test_queue.compare_func == (CompareFunc) strcmp); - } - - public new void test_gobject_properties () { - var test_queue = test_collection as PriorityQueue<string>; - - // Check the list exists - assert (test_queue != null); - Value value; - - value = Value (typeof (CompareFunc)); - test_queue.get_property ("compare-func", ref value); - assert (value.get_pointer () == (void*) test_queue.compare_func); - value.unset (); - } - private void test_poll_gives_minimum () { var test_queue = test_collection as Gee.Queue<string>; |