Update sorting/binary_insertion_sort.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Siddhartha Shankar Padhy
2021-12-06 23:29:10 +05:30
committed by GitHub
parent 8e983ae9f0
commit 05a72c057e

View File

@@ -99,7 +99,7 @@ void insertionSort_binsrch(std::vector<T> &arr) {
* @brief Self-test implementations
* @returns void
*/
void test() {
static void test() {
/* descriptions of the following test */
/* 1st test:
[5, -3, -1, -2, 7] returns [-3, -2, -1, 5, 7] */