Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 488b10efa3
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.515 kb
/* License
*
* You may use the code in this tech note for any purpose, with the
* understanding that it comes with NO WARRANTY.
*
* Copied from http://www.jera.com/techinfo/jtns/jtn002.html. */
#ifndef MINUNIT_H
#define MINUNIT_H
/* file: minunit.h */
#define mu_assert(message, test) do { if (!(test)) return message; } while (0)
#define mu_run_test(test) do { char *message = test(); tests_run++; \
if (message) return message; } while (0)
extern int tests_run;
#endif
Jump to Line
Something went wrong with that request. Please try again.