libcdsb/tests/src/set/main.c

14 lines
321 B
C
Raw Normal View History

2022-06-02 19:23:01 +00:00
/* This software is licensed by the MIT License, see LICENSE file */
/* Copyright © 2022 Gregory Lirent */
#include "plug.h"
int main(int argc, char** argv) {
test_init(argc, argv);
2022-06-06 19:08:10 +00:00
2022-06-08 07:52:29 +00:00
set_t x = vset_random(36, 0.1);
2022-06-07 18:24:17 +00:00
while(vset_remove_random(&x, 0.1)) {}
2022-06-06 19:08:10 +00:00
vset_free(&x);
2022-06-02 19:23:01 +00:00
}