bzr branch
http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk
|
34
by Gustav Hartvigsson
* Finnished test suite |
1 |
#include <stdlib.h> |
2 |
#include <stdio.h> |
|
3 |
#include <malloc.h> |
|
4 |
#include <string.h> |
|
5 |
#include <stdint.h> |
|
6 |
||
7 |
#include "test_macros.h" |
|
8 |
#include "refcount.h" |
|
|
39
by Gustav Hartvigsson
* Added "check" target for testing. |
9 |
#include "to_string.h" |
10 |
#include "error.h" |
|
|
47
by Gustav Hartvigsson
* Added a few skeletal functions to Callback.h |
11 |
#include "dynamic_array.h" |
|
34
by Gustav Hartvigsson
* Finnished test suite |
12 |
|
|
43
by Gustav Hartvigsson
* Code cleanup |
13 |
|
|
34
by Gustav Hartvigsson
* Finnished test suite |
14 |
int main (int argc, char ** argv, char ** argp) { |
|
39
by Gustav Hartvigsson
* Added "check" target for testing. |
15 |
setup_suite("SSTS"); |
|
34
by Gustav Hartvigsson
* Finnished test suite |
16 |
|
|
39
by Gustav Hartvigsson
* Added "check" target for testing. |
17 |
test_unit (test_refcount, "Refcount"); |
18 |
test_unit (test_to_string, "To String"); |
|
19 |
test_unit (test_error, "Error"); |
|
|
47
by Gustav Hartvigsson
* Added a few skeletal functions to Callback.h |
20 |
test_unit (test_dynamic_array, "Dynamic Array"); |
|
34
by Gustav Hartvigsson
* Finnished test suite |
21 |
|
22 |
end_suite(); |
|
23 |
}
|