29 lines
637 B
C
29 lines
637 B
C
#include "../base/base.h"
|
|
#include "tests.h"
|
|
|
|
#include "../Hashtable/KeyValuePair.h"
|
|
|
|
KeyValuePair test_marshalling(char* text){
|
|
//printf("<%s>\n", text);
|
|
Unitype u={.VoidPtr=text,.type=CharPtr};
|
|
KeyValuePair msg={"message",u};
|
|
return msg;
|
|
}
|
|
|
|
void test_all(){
|
|
test_searchtree();
|
|
test_autoarr();
|
|
test_hashtable();
|
|
test_string();
|
|
test_dtsod();
|
|
printf("\e[96m---------------------------------------\e[0m\n");
|
|
}
|
|
|
|
int main(){
|
|
setlocale(LC_ALL, "en-US.Unicode");
|
|
printf("\e[92mdtsod parser in c language!\e[97m\n");
|
|
optime("test_all",1,{test_all();});
|
|
printf("\e[0m\n");
|
|
return 0;
|
|
}
|