summaryrefslogtreecommitdiff
path: root/testcases.h
Commit message (Collapse)AuthorAgeFilesLines
* Add debugging assertionBobby Bingham2014-10-291-2/+0
|
* Add instrumentationBobby Bingham2014-10-291-1/+0
| | | | | Track the number of comparisons, swaps, and rotations performed in each part of the sorting algorithm.
* Make global state explicit in testcase generatorsBobby Bingham2014-08-031-1/+3
| | | | | | | The quicksort-killer testcase will require more global state, unless we go to the effort of implementing qsort_r versions of all the sorting algorithms. Since we're not doing that, we'll simply make the global state explicit.
* Rename generators to testcasesBobby Bingham2014-08-031-0/+17
This is in preparation for adding an implementation of the quicksort-killer test case, which requires a custom comparison function rather than just a custom imput-generation function.