1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 01:25:20 +02: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++; \
} \