Update tests

This commit is contained in:
2022-06-08 10:52:29 +03:00
parent d09e4d235a
commit 48ed3d3fab
5 changed files with 206 additions and 9 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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();