Update tests
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
int main(int argc, char** argv) {
|
||||
test_init(argc, argv);
|
||||
|
||||
vtype_set x = vset_random(36, 0.1);
|
||||
set_t x = vset_random(36, 0.1);
|
||||
|
||||
while(vset_remove_random(&x, 0.1)) {}
|
||||
vset_free(&x);
|
||||
|
||||
@@ -29,7 +29,7 @@ static int vset_node_print(const void* v, vtype t, void* _) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void vset_print(const set_t* x, const char* prefix) {
|
||||
static void vset_print(set_t* x, const char* prefix) {
|
||||
print_container_values_prefix("Set", prefix);
|
||||
vset_foreach(x, 0, vset_node_print);
|
||||
put_separator();
|
||||
|
||||
Reference in New Issue
Block a user