summaryrefslogtreecommitdiff
path: root/grailsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'grailsort.c')
-rw-r--r--grailsort.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/grailsort.c b/grailsort.c
index 9eff4d6..a39a0b2 100644
--- a/grailsort.c
+++ b/grailsort.c
@@ -96,4 +96,8 @@ void grailsort(void *unsorted, size_t nmel, size_t width, cmpfun cmp)
grailsort(base, bufnmel, width, cmp);
distribute_buffer(base, bufnmel, nmel - bufnmel, width, cmp);
+
+#if 0
+ assert_sorted(base, nmel, width, cmp);
+#endif
}