diff options
Diffstat (limited to 'tests/testtreeset.vala')
-rw-r--r-- | tests/testtreeset.vala | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/tests/testtreeset.vala b/tests/testtreeset.vala index 6d754bc..e407945 100644 --- a/tests/testtreeset.vala +++ b/tests/testtreeset.vala @@ -23,12 +23,10 @@ using Gee; -public class TreeSetTests : SortedSetTests { +public class TreeSetTests : BidirSortedSetTests { public TreeSetTests () { base ("TreeSet"); - add_test ("[TreeSet] selected functions", test_selected_functions); - add_test ("[TreeSet] GObject properties", test_gobject_properties); add_test ("[TreeSet] add and remove", test_add_remove); } @@ -40,29 +38,6 @@ public class TreeSetTests : SortedSetTests { test_collection = null; } - public void test_selected_functions () { - var test_set = test_collection as TreeSet<string>; - - // Check the set exists - assert (test_set != null); - - // Check the selected compare function - assert (test_set.compare_func == (CompareFunc) strcmp); - } - - public new void test_gobject_properties () { - var test_set = test_collection as TreeSet<string>; - - // Check the set exists - assert (test_set != null); - Value value; - - value = Value (typeof (CompareFunc)); - test_set.get_property ("compare-func", ref value); - assert (value.get_pointer () == (void*) test_set.compare_func); - value.unset (); - } - public new void test_add_remove () { var test_set = test_collection as TreeSet<string>; |