Sha256: 8d63ee5e38f8bc3d241d6a9dbe34f6818cccf27dc84d2ee3bb6ce6518cf64005

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 Bytes

Contents

/* Taken from http://www.jera.com/techinfo/jtns/jtn002.html */

/* Simple Macros for testing */
#define mu_assert(message, test) \
  do {                           \
    if (!(test)) return message; \
  } while (0)
#define mu_run_test(test)         \
  do {                            \
    const char *message = test(); \
    tests_run++;                  \
    if (message) return message;  \
  } while (0)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scs-0.2.3 vendor/scs/test/minunit.h
scs-0.2.2 vendor/scs/test/minunit.h
scs-0.2.1 vendor/scs/test/minunit.h
scs-0.2.0 vendor/scs/test/minunit.h