aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qintc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/qintc.cc')
-rw-r--r--libtests/qintc.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/libtests/qintc.cc b/libtests/qintc.cc
index d3e19f5b..d5738a4b 100644
--- a/libtests/qintc.cc
+++ b/libtests/qintc.cc
@@ -1,12 +1,8 @@
+#include <qpdf/assert_test.h>
+
#include <qpdf/QIntC.hh>
#include <stdint.h>
-#ifdef NDEBUG
-// We need assert even in a release build for test code.
-# undef NDEBUG
-#endif
-#include <cassert>
-
#define try_convert(exp_pass, fn, i) \
try_convert_real(#fn "(" #i ")", exp_pass, fn, i)