|
Snoke
|
shared functions for testing More...


Go to the source code of this file.
Functions | |
| int | changeStream (FILE *file) |
| redirects stdout to a file More... | |
| void | returnStream (FILE *file, int oldstdOut) |
| returns stdout back More... | |
| bool | executeTest (FILE *expectedData, FILE *outputData) |
| compare files of expected and actual output and decide if test passes More... | |
Variables | |
| constexpr bool | TRAVIS = 0 |
shared functions for testing
Definition in file shared.h.
| int changeStream | ( | FILE * | file | ) |
| bool executeTest | ( | FILE * | expectedData, |
| FILE * | outputData | ||
| ) |
| void returnStream | ( | FILE * | file, |
| int | oldstdOut | ||
| ) |