MCPcopy Create free account
hub / github.com/bcndev/bytecoin / max_length

Function max_length

tests/crypto/test_crypto.cpp:631–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631size_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
641void 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) {

Callers 1

test_cryptoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected