12 lines
290 B
C
12 lines
290 B
C
|
#define TESTFAILED 0
|
||
|
#define TESTGOOD 1
|
||
|
|
||
|
#include <iostream>
|
||
|
|
||
|
#define TESTDATA "./tests/data/"
|
||
|
|
||
|
#define ASSERT(BED, ERR) if(!(BED)) { std::cout << __FILE__ << ":" << __LINE__ << " " << ERR << std::endl; return TESTFAILED; }
|
||
|
// #define ASSERT(BED) ASSERT(BED, "")
|
||
|
|
||
|
typedef int (*test_t)();
|