mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
403f44d924
commit
2db80b5066
@ -76,7 +76,7 @@ static void test() {
|
|||||||
std::cout << "Passed Test 4!" << std::endl;
|
std::cout << "Passed Test 4!" << std::endl;
|
||||||
|
|
||||||
n = 15;
|
n = 15;
|
||||||
int test_5 = lcmSum(n);
|
int test_5 = math::lcmSum(n);
|
||||||
assert(test_5 == 1110);
|
assert(test_5 == 1110);
|
||||||
std::cout << "Passed Test 5!" << std::endl;
|
std::cout << "Passed Test 5!" << std::endl;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user