From af07c941cb58bb73cffc12161e9f263819575e82 Mon Sep 17 00:00:00 2001 From: mzuenni Date: Mon, 12 Aug 2024 14:44:54 +0200 Subject: Update treap.cpp use FAIL --- test/datastructures/treap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/datastructures/treap.cpp b/test/datastructures/treap.cpp index ebab34d..2fc9d63 100644 --- a/test/datastructures/treap.cpp +++ b/test/datastructures/treap.cpp @@ -39,7 +39,7 @@ void stress_test(int T, int n) { rem -= cnt; } } - if (to_vec(t) != a) cerr << "Failed stress test" << endl; + if (to_vec(t) != a) cerr << "Failed stress test" << FAIL; } cerr << "Tested " << T << " random tests with n<=" << n << endl; } -- cgit v1.2.3