mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-02 02:02:23 +08:00
fix: whitespace issue in sum_of_digits
This commit is contained in:
@@ -27,7 +27,7 @@ int sum_of_digits(int num) {
|
||||
/**
|
||||
* Test function.
|
||||
*/
|
||||
void test() {
|
||||
void test() {
|
||||
int test_case_1 = sum_of_digits(119765);
|
||||
int test_case_2 = sum_of_digits(-12256);
|
||||
assert(test_case_1 == 29);
|
||||
|
||||
Reference in New Issue
Block a user