Archeus
0.0.0
A C library and game engine that focuses on documentation
Loading...
Searching...
No Matches
test.c
Go to the documentation of this file.
1
#include "
test.h
"
2
3
#include "
arc/std/errno.h
"
4
#include <stdio.h>
5
#include <stdlib.h>
6
7
uint32_t *
temp_arc_test_num_checks_run__ARC_TEST__
= NULL;
8
uint32_t *
temp_arc_test_num_checks_passed__ARC_TEST__
= NULL;
9
10
void
ARC_Test_SetErrnoStream
(
void
){
11
arc_errno_log_file = fopen(
"tests/test_error_out.txt"
,
"w"
);
12
}
13
14
void
ARC_Test_UnsetErrnoStream
(
void
){
15
fclose(arc_errno_log_file);
16
}
17
18
#ifndef ARC_TEST_NO_MAIN
19
int
main
(
void
){
20
return
0;
21
}
22
#endif
errno.h
ARC_Test_SetErrnoStream
void ARC_Test_SetErrnoStream(void)
Definition
test.c:10
ARC_Test_UnsetErrnoStream
void ARC_Test_UnsetErrnoStream(void)
Definition
test.c:14
temp_arc_test_num_checks_run__ARC_TEST__
uint32_t * temp_arc_test_num_checks_run__ARC_TEST__
Definition
test.c:7
temp_arc_test_num_checks_passed__ARC_TEST__
uint32_t * temp_arc_test_num_checks_passed__ARC_TEST__
Definition
test.c:8
main
int main(void)
Definition
test.c:19
test.h
tests
test.c