mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 06:26:05 +08:00
refactor: rename to tests()
This commit is contained in:
@@ -128,7 +128,7 @@ void test_longest_common_string_length_for_reversed_inputs(
|
||||
/**
|
||||
* @brief runns all tests for longest_common_string_length funcion
|
||||
*/
|
||||
void test_all() {
|
||||
void tests() {
|
||||
const auto test_cases = get_test_cases();
|
||||
assert(test_cases.size() > 0);
|
||||
test_longest_common_string_length(test_cases);
|
||||
@@ -137,6 +137,6 @@ void test_all() {
|
||||
}
|
||||
|
||||
int main() {
|
||||
test_all();
|
||||
tests();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user