97 std::vector<int> case1={100,534,1000000,553,10,61,2000,238,2756,9,12,56,30};
98 std::cout<<
"TEST 1\n";
99 std::cout<<
"Before: \n";
100 for(
auto x : case1) std::cout<<x<<
",";
103 assert(std::is_sorted(std::begin(case1),std::end(case1)));
104 std::cout<<
"Test 1 succesful!\n";
105 std::cout<<
"After: \n";
106 for(
auto x : case1) std::cout<<x<<
",";
110 std::vector<int> case2={-10,-2,-5,-2,-3746,-785,-123, -452, -32456};
111 std::cout<<
"TEST 2\n";
112 std::cout<<
"Before: \n";
113 for(
auto x : case2) std::cout<<x<<
",";
116 assert(std::is_sorted(std::begin(case2),std::end(case2)));
117 std::cout<<
"Test 2 succesful!\n";
118 std::cout<<
"After: \n";
119 for(
auto x : case2) std::cout<<x<<
",";