2024-03-26 17:06:15 +01:00
|
|
|
#include <string.h>
|
|
|
|
|
2024-03-31 18:54:56 +02:00
|
|
|
#include "vmap.h"
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
// Add more tests here
|
|
|
|
VMap* vmap = vmap_init();
|
|
|
|
|
|
|
|
char* data1 = my_malloc(vmap, 30*sizeof(char));
|
|
|
|
char* data2 = my_malloc(vmap, 30*sizeof(char));
|
|
|
|
|
|
|
|
my_copy(vmap, data1, data2, 30*sizeof(char));
|
|
|
|
|
|
|
|
my_free(vmap, data1);
|
|
|
|
my_free(vmap, data2);
|
2024-03-26 17:06:15 +01:00
|
|
|
|
2024-03-26 17:45:20 +01:00
|
|
|
return 0;
|
2024-03-26 17:06:15 +01:00
|
|
|
}
|