mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-07 04:25:34 +08:00
Update sorting/selection_sort_recursive.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -90,7 +90,7 @@ static void test() {
|
||||
// 1st test
|
||||
// [1, 0, 2, 1] return [0, 1, 1, 2]
|
||||
std::vector<uint64_t> array1 = {0, 1, 1, 2};
|
||||
std::cout << "Test 1... ";
|
||||
std::cout << "1st test... ";
|
||||
sorting::selection_sort_recursive::selectionSortRecursive(array1);
|
||||
assert(std::is_sorted(std::begin(array1), std::end(array1)));
|
||||
std::cout << "passed" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user