1 #include <assert.h> 2 #include <stdio.h> 3 #include <dict.h> 4 5 int 6 main(void) 7 { 8 struct aura_dict *d; 9 10 /* Overflow test */ 11 d = aura_dict_new(-1, AURA_DICT_HASH); 12 assert (d == NULL); 13 14 /* Invalid method check */ 15 d = aura_dict_new(1, -1); 16 assert(d == NULL); 17 18 return 0; 19 } 20