mirror of
https://github.com/Zygo/bees.git
synced 2025-06-16 17:46:16 +02:00
bees: remove local cruft, throw at github
This commit is contained in:
14
test/tests.h
Normal file
14
test/tests.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef CRUCIBLE_TESTS_H
|
||||
#define CRUCIBLE_TESTS_H
|
||||
|
||||
#undef NDEBUG
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#define RUN_A_TEST(test) do { \
|
||||
std::cerr << "Testing " << #test << "..." << std::flush; \
|
||||
do { test ; } while (0); \
|
||||
std::cerr << "OK" << std::endl; \
|
||||
} while (0)
|
||||
|
||||
#endif // CRUCIBLE_TESTS_H
|
Reference in New Issue
Block a user