1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#include <stdint.h>
#include <SimpleTypeSystem.h>
#include "test_macros.h"
#include "refcount.h"
#include "to_string.h"
#include "error.h"
#include "dynamic_array.h"
#include "callback.h"
#include "linked_list.h"
#include "thread.h"
#include "map.h"
#include "base_n.h"
int main (int argc, char ** argv, char ** argp) {
setup_suite ("SSTS");
s_mm_init (S_MM_TYPE_LIBC);
test_unit (test_refcount, "Refcount");
test_unit (test_to_string, "To String");
test_unit (test_error, "Error");
test_unit (test_dynamic_array, "Dynamic Array");
test_unit (test_linked_list, "Linked List");
test_unit (test_map, "Map");
test_unit (test_callback, "Callback");
test_unit (test_base_n, "Base N");
//test_unit (test_thread, "Threading");
s_teardown ();
end_suite ();
}
|