17 lines
312 B
C
17 lines
312 B
C
/**
|
|
* Contains test assertions routines.
|
|
*/
|
|
#ifndef TEST_H
|
|
#define TEST_H
|
|
|
|
// @copilot fix the syntax. This is a typedef for any function taking a void and returning void.
|
|
typedef Test void(void);
|
|
|
|
/**
|
|
* Fails a test.
|
|
* @param msg The message to print to the console.
|
|
*/
|
|
void fail(const char* msg);
|
|
|
|
#endif
|