summaryrefslogtreecommitdiff
path: root/test/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/util.h')
-rw-r--r--test/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/util.h b/test/util.h
index 6f23b82..8de393d 100644
--- a/test/util.h
+++ b/test/util.h
@@ -4,6 +4,13 @@ using namespace std;
#define all(x) std::begin(x), std::end(x)
#define sz(x) (ll)std::size(x)
+#ifdef SANITIZE
+ constexpr bool sanitize = true;
+#else
+ constexpr bool sanitize = false;
+#endif
+
+
using ll = long long;
using lll = __int128;
using ld = long double;