Exemplo n.º 1
0
int main(const int argc, const char* const argv[]) {
  run_insertion();
  run_selection();
  run_3();
  run_4();
  run_7();
}
Exemplo n.º 2
0
int main(const int argc, const char* const argv[]) {

  test_insertion(vec_t{{}});
  test_insertion(vec_t{{3,5,1,7,9,2}});
  for (int a = -2; a <= 2; ++a)
   for (int b = -2; b <= 2; ++b)
    for (int c = -2; c <= 2; ++c)
     for (int d = -2; d <= 2; ++d)
      test_insertion(vec_t{{a,b,c,d}});

  run_insertion();
}