Lines Matching refs:g_assert
74 g_assert (array[i] == i); in verify_result_array()
82 g_assert (key == value); in handle_pair()
86 g_assert (n >= 0 && n < 10000); in handle_pair()
87 g_assert (result_array[n] == -1); in handle_pair()
193 g_assert (name != NULL); in honeyman_hash()
194 g_assert (*name != 0); in honeyman_hash()
228 g_assert (_key != NULL); in not_even_foreach()
229 g_assert (*_key != 0); in not_even_foreach()
230 g_assert (_value != NULL); in not_even_foreach()
231 g_assert (*_value != 0); in not_even_foreach()
236 g_assert (strcmp (_value, val) == 0); in not_even_foreach()
238 g_assert ((i % 2) != 0); in not_even_foreach()
239 g_assert (i != 3); in not_even_foreach()
252 g_assert (_key != NULL); in remove_even_foreach()
253 g_assert (*_key != 0); in remove_even_foreach()
254 g_assert (_value != NULL); in remove_even_foreach()
255 g_assert (*_value != 0); in remove_even_foreach()
260 g_assert (strcmp (_value, val) == 0); in remove_even_foreach()
280 g_assert (h != NULL); in second_hash_test()
284 g_assert (atoi (key) == i); in second_hash_test()
287 g_assert (atoi (val) == i); in second_hash_test()
292 g_assert (g_hash_table_size (h) == 20); in second_hash_test()
297 g_assert (atoi(key) == i); in second_hash_test()
301 g_assert (v != NULL); in second_hash_test()
302 g_assert (*v != 0); in second_hash_test()
303 g_assert (atoi (v) == i); in second_hash_test()
308 g_assert (g_hash_table_size (h) == 19); in second_hash_test()
310 g_assert (g_hash_table_size (h) == 9); in second_hash_test()
316 g_assert (atoi(key) == i); in second_hash_test()
319 g_assert (atoi (val) == i); in second_hash_test()
327 g_assert (!found); in second_hash_test()
331 g_assert (found); in second_hash_test()
333 g_assert (orig_key != NULL); in second_hash_test()
334 g_assert (strcmp (key, orig_key) == 0); in second_hash_test()
336 g_assert (orig_val != NULL); in second_hash_test()
337 g_assert (strcmp (val, orig_val) == 0); in second_hash_test()
359 g_assert (h != NULL); in direct_hash_test()
366 g_assert (g_hash_table_size (h) == 20); in direct_hash_test()
373 g_assert (rc != 0); in direct_hash_test()
374 g_assert ((rc - 42) == i); in direct_hash_test()
422 g_assert (g_hash_table_iter_next (&iter, &ikey, &ivalue)); in main()
429 g_assert (! g_hash_table_iter_next (&iter, &ikey, &ivalue)); in main()
430 g_assert (g_hash_table_size (hash_table) == 5000); in main()