std::vector<std::string> TesterAnalizer::generate_args( int column, Collector::Method method ) { std::vector<std::string> args; if( Helper::is_integer( method.params[ column ].type ) ) { args = generate_ints( column, method ); } else if( Helper::is_string( method.params[ column ].type ) ) { args = generate_strings( column, method ); } else { // Nothing to do } return args; }
TEST(vector_map, operator_insert) { test_operator_insert<int>(generate_ints(100)); test_operator_insert<std::string>(generate_strings(100)); }
TEST(vector_map, lookup) { test_lookup<int>(generate_ints(100)); test_lookup<std::string>(generate_strings(100)); }
TEST(vector_map, copy_constructor) { test_copy<int>(generate_ints(100)); test_copy<std::string>(generate_strings(100)); }
TEST(vector_map, assignment) { test_assignment<int>(generate_ints(100)); test_assignment<std::string>(generate_strings(100)); }
TEST(vector_map, swap) { test_swap<int>(generate_ints(100)); test_swap<std::string>(generate_strings(100)); }
TEST(vector_map, clear) { test_clear<int>(generate_ints(100)); test_clear<std::string>(generate_strings(100)); }
TEST(vector_set, insert) { test_insert<int>(generate_ints(100)); test_insert<std::string>(generate_strings(100)); }