If invoked on a .asm file, compile the file (maybe do not optimize it so that unused functions are not removed) and then execute every single function that resides in a (potentially nested) namespace called test.
Maybe limit this to functions starting with the test_ prefix and assert that they have the type -> ()?
Implement a simple test runner:
If invoked on a
.asm
file, compile the file (maybe do not optimize it so that unused functions are not removed) and then execute every single function that resides in a (potentially nested) namespace calledtest
.Maybe limit this to functions starting with the
test_
prefix and assert that they have the type-> ()
?