ir driver tool for testing ir memory
[henge/webcc.git] / src / bin / tools / ir.c
1 /*!@file
2 \brief IR Driver
3 \details This is a testing driver for the IR system of APC.
4 \author Jordan Lavatai
5 \date Aug 2016
6 ----------------------------------------------------------------------------*/
7 /* Standard */
8 #include <stdio.h> //print
9 /* Internal */
10 #include <apc/ir.h> //link to IR
11
12 /* Ansi Term Colors */
13 #define RED "\x1b[31m"
14 #define GREEN "\x1b[32m"
15 #define YELLOW "\x1b[33m"
16 #define BLUE "\x1b[34m"
17 #define MAGENTA "\x1b[35m"
18 #define CYAN "\x1b[36m"
19 #define CLRX "\x1b[0m" //clear current color
20
21 int main(void);
22 int test_init(void);
23 int test_malloc(void);
24
25 int
26 main
27 ()
28 { test_init();
29 test_malloc();
30 return 0;
31 }
32
33 int
34 test_init
35 ()
36 { /* Test Init */
37 printf("YELLOW Initializing\n");
38 ir_init();
39 printf("Quitting CLRX\n");
40 ir_quit();
41 return 0;
42 }
43
44 int
45 test_malloc
46 ()
47 { return 0;
48 }