| 629 | } |
| 630 | |
| 631 | size_t max_length(const std::vector<std::string> &strings) { |
| 632 | size_t max_name_size = 0; |
| 633 | for (auto &name : strings) { |
| 634 | auto length = name.length(); |
| 635 | if (length > max_name_size) |
| 636 | max_name_size = length; |
| 637 | } |
| 638 | return max_name_size; |
| 639 | } |
| 640 | |
| 641 | void run_test_suite(const std::string &name, std::fstream &input, std::map<std::string, test_case> &test_function, |
| 642 | const bool break_on_failure, std::vector<size_t> &passed_tests, std::vector<size_t> &failed_tests) { |