1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00
bees/test/tests.h
2016-11-17 12:12:13 -05:00

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