7ff3f76de5
- Implement buffer_open_file/string, buffer_read, buffer_close in v0/src/buffer.c - Add tests in v0/tests/test_buffer.c and test_buffer.txt; register tests in v0/tests/test.c - Update v0/include.mk and Makefile Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 lines
218 B
C
16 lines
218 B
C
/**
|
|
* Contains test assertions routines.
|
|
*/
|
|
#ifndef TEST_H
|
|
#define TEST_H
|
|
|
|
typedef void (*Test)(void);
|
|
|
|
/**
|
|
* Fails a test.
|
|
* @param msg The message to print to the console.
|
|
*/
|
|
void fail(const char* msg);
|
|
|
|
#endif
|