build_dll
This commit is contained in:
13
tests/main.c
13
tests/main.c
@@ -1,11 +1,20 @@
|
||||
#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_searchtree();
|
||||
test_autoarr();
|
||||
test_hashtable();
|
||||
test_string(); */
|
||||
test_string();
|
||||
test_dtsod();
|
||||
printf("\e[96m---------------------------------------\e[0m\n");
|
||||
}
|
||||
|
||||
13
tests/test_marshalling.h
Normal file
13
tests/test_marshalling.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#if __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "../Hashtable/KeyValuePair.h"
|
||||
|
||||
KeyValuePair test_marshalling(char* text);
|
||||
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -8,4 +8,4 @@ void test_searchtree();
|
||||
void test_autoarr();
|
||||
void test_hashtable();
|
||||
void test_string();
|
||||
void test_dtsod();
|
||||
void test_dtsod();
|
||||
Reference in New Issue
Block a user