https://github.com/cvxgrp/scs
Raw File
Tip revision: 955efcd30b9a5a1448e232cb678dd84837653018 authored by Brendan O'Donoghue on 26 March 2019, 12:24:14 UTC
not working yet
Tip revision: 955efcd
minunit.h
/* 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)
back to top