19 lines
336 B
C
19 lines
336 B
C
#include <string.h>
|
|
|
|
#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);
|
|
|
|
return 0;
|
|
}
|