mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
15 lines
282 B
C++
15 lines
282 B
C++
#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
|