mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 18:46:50 +08:00
Update sorting/binary_insertion_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8e983ae9f0
commit
05a72c057e
@@ -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] */
|
||||
|
||||
Reference in New Issue
Block a user