diff options
author | Marvin Borner | 2023-02-20 20:32:45 +0100 |
---|---|---|
committer | Marvin Borner | 2023-02-20 20:32:45 +0100 |
commit | d0b4cf4497d9dfdb0a5f5f973af25008f8b5c65f (patch) | |
tree | ba8ef2c7a8229cdf7fccde7d5b03fdac7f5d4b3b /src/test.c | |
parent | 9906ba3585ce74c10d2fe9d6a991d6ea0ab99114 (diff) |
Added BLC parsing/printing
Diffstat (limited to 'src/test.c')
-rw-r--r-- | src/test.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -168,7 +168,7 @@ static void test_explode(void) deviations++; } - printf("Test explode ((n ω) x) with n<=%d: %.5fs, %d transition deviations\n", + printf("Test explode (λx.((n ω) x)) with n<=%d: %.5fs, %d transition deviations\n", limit, time, deviations); } @@ -205,7 +205,6 @@ static void callback(int i, char ch, void *data) fprintf(stderr, "Transition deviation at index %d!\n", i); test->equivalency.trans = 0; } - /* fprintf(stderr, "\n%d: %c\n", i, ch); */ } int main(void) @@ -227,11 +226,11 @@ int main(void) tests[i].trans = read_file(trans_template); char *in = read_file(in_template); - tests[i].in = parse(in); + tests[i].in = parse_bruijn(in); free(in); char *red = read_file(red_template); - tests[i].red = parse(red); + tests[i].red = parse_bruijn(red); to_bruijn(tests[i].red); free(red); @@ -270,5 +269,5 @@ int main(void) test_explode(); } #else -static int no_testing; +__attribute__((unused)) static int no_testing; #endif |