summaryrefslogtreecommitdiff
path: root/tests/test.c
blob: 11c3557e2f72e7ca5b9ad91af9072ff8af34ab1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>

#include "test.h"

int main() {
    inC_test inC;
    outC_test outC;

    test_reset(&outC);

    int i = 0;
    while(1) {
        inC.i = i++;

        test(&inC, &outC);

        printf("%d. %d %d %d\n", inC.i, outC.a, outC.b, outC.c);

        if (outC.exit) return 0;
    }
}