void TestDuplicates6(void) { std::cout << "\n******************** TestDuplicates6 ********************\n"; const int numbers1[] = {5, 1}; TestDuplicates(numbers1, 0); }
void TestDuplicates4(void) { std::cout << "\n******************** TestDuplicates4 ********************\n"; const int numbers1[] = {5}; int size1 = sizeof(numbers1) / sizeof(*numbers1); TestDuplicates(numbers1, size1); }
void TestDuplicates3(void) { std::cout << "\n******************** TestDuplicates3 ********************\n"; const int numbers1[] = {12, 17, 5, 10, 4, 11, 9, 8}; int size1 = sizeof(numbers1) / sizeof(*numbers1); TestDuplicates(numbers1, size1); }
void TestDuplicates1(void) { std::cout << "\n******************** TestDuplicates1 ********************\n"; const int numbers1[] = {12, 34, 12, 24, 12, 12, 27, 34, 12, 12, 88, 27, 59, 12, 27, 12}; int size1 = sizeof(numbers1) / sizeof(*numbers1); TestDuplicates(numbers1, size1); }
void TestDuplicates2(void) { std::cout << "\n******************** TestDuplicates2 ********************\n"; const int numbers1[] = {12, 12, 12, 12, 12, 12, 12, 12}; int size1 = static_cast<int>(sizeof(numbers1) / sizeof(*numbers1)); TestDuplicates(numbers1, size1); }