refactor: rename to tests()

This commit is contained in:
piotr.idzik 2023-05-24 09:49:37 +02:00
parent 1874b76245
commit 3c6fc8cce2

View File

@ -128,7 +128,7 @@ void test_longest_common_string_length_for_reversed_inputs(
/** /**
* @brief runns all tests for longest_common_string_length funcion * @brief runns all tests for longest_common_string_length funcion
*/ */
void test_all() { void tests() {
const auto test_cases = get_test_cases(); const auto test_cases = get_test_cases();
assert(test_cases.size() > 0); assert(test_cases.size() > 0);
test_longest_common_string_length(test_cases); test_longest_common_string_length(test_cases);
@ -137,6 +137,6 @@ void test_all() {
} }
int main() { int main() {
test_all(); tests();
return 0; return 0;
} }