diff options
Diffstat (limited to 'examples/performance')
-rw-r--r-- | examples/performance/driver.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/performance/driver.cxx b/examples/performance/driver.cxx index 238f5ad..67eb349 100644 --- a/examples/performance/driver.cxx +++ b/examples/performance/driver.cxx @@ -9,6 +9,9 @@ #include "time.hxx" +#undef NDEBUG +#include <cassert> + using namespace std; using namespace xml; @@ -69,6 +72,8 @@ main (int argc, char* argv[]) break; } } + + assert (start_count == end_count); } cerr << " elements: " << start_count << endl; @@ -102,6 +107,8 @@ main (int argc, char* argv[]) break; } } + + assert (start_count == end_count); } os::time end; |