1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Tests: Add random unittests

This commit is contained in:
kwolekr 2015-04-29 04:07:24 -04:00
parent 9179081776
commit b6475f5448
3 changed files with 279 additions and 1 deletions

View file

@ -37,7 +37,7 @@ class TestFailedException : public std::exception {
try { \
fxn(__VA_ARGS__); \
dstream << "[PASS] "; \
} catch (TestFailedException) { \
} catch (...) { \
dstream << "[FAIL] "; \
num_tests_failed++; \
} \