[test] Add test for hb_set_get_min() bug
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 14 May 2013 19:30:17 +0000 (15:30 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 14 May 2013 19:30:17 +0000 (15:30 -0400)
Failing now.

Bug 64476 - Typo in hb_set_t.get_min()

test/api/test-set.c

index b9e7ef8..90d0437 100644 (file)
@@ -64,6 +64,10 @@ test_set_basic (void)
   hb_set_clear (s);
   test_empty (s);
 
+  hb_set_add (s, 33000);
+  test_not_empty (s);
+  hb_set_clear (s);
+
   hb_set_add_range (s, 10, 29);
   test_not_empty (s);
   g_assert (hb_set_has (s, 13));