mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
refactor: rename to tests()
This commit is contained in:
parent
1874b76245
commit
3c6fc8cce2
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user