summaryrefslogtreecommitdiff
path: root/test/datastructures/treap.cpp
diff options
context:
space:
mode:
authormzuenni <mzuenni@users.noreply.github.com>2024-08-12 14:44:54 +0200
committerGitHub <noreply@github.com>2024-08-12 14:44:54 +0200
commitaf07c941cb58bb73cffc12161e9f263819575e82 (patch)
treea1a7c2396cf1618c319b55868900c2bf14d99883 /test/datastructures/treap.cpp
parent22536b7fbc050075a1420c0f1a7125b9185c9519 (diff)
Update treap.cpp
use FAIL
Diffstat (limited to 'test/datastructures/treap.cpp')
-rw-r--r--test/datastructures/treap.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}