3 ms·
Why stick to three lines? With only a couple more you could reduce the boiler-plate needed to use it. I wrote a minimal C test framework too: https://github.co
by codeplea 8y ago
Why stick to three lines? With only a couple more you could reduce the boiler-plate needed to use it.
I wrote a minimal C test framework too: https://github.com/codeplea/minctest https://github.com/codeplea/minctest It's got some real-world usage. Still only just one header file, but it'll time each test and if an equal assertion fails it'll print the variable values.