forked from Mirror/wren
Add a minimal path manipulation C module.
This is just for the VM's own internal use, for resolving relative imports. Also added a tiny unit test framework for writing tests of low-level C functionality that isn't exposed directly by the language or VM.
This commit is contained in:
7
test/unit/test.h
Normal file
7
test/unit/test.h
Normal file
@ -0,0 +1,7 @@
|
||||
// Set this to 1 to output passing tests.
|
||||
#define SHOW_PASSES 0
|
||||
|
||||
void pass();
|
||||
void fail();
|
||||
|
||||
int showTestResults();
|
||||
Reference in New Issue
Block a user