We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9b374 commit 8f73e67Copy full SHA for 8f73e67
source/containers/test/sort/sort_benchmark.cpp
@@ -4,6 +4,7 @@
4
// http://www.boost.org/LICENSE_1_0.txt)
5
6
#include <benchmark/benchmark.h>
7
+#include <bounded/assert.hpp>
8
9
import containers.algorithms.sort.chunked_insertion_sort;
10
@@ -49,6 +50,7 @@ auto benchmark_sort(benchmark::State & state) -> void {
49
50
benchmark::DoNotOptimize(container);
51
benchmark::ClobberMemory();
52
function(container);
53
+ BOUNDED_ASSERT(containers::is_sorted(container));
54
55
56
}
0 commit comments