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
1c7fe26285
commit
c89a0e3bf0
@ -56,7 +56,7 @@ int lcmSum(int num) {
|
||||
*/
|
||||
static void test() {
|
||||
int n = 2;
|
||||
int test_1 = lcmSum(n);
|
||||
int test_1 = math::lcmSum(n);
|
||||
assert(test_1 == 4);
|
||||
std::cout << "Passed Test 1!" << std::endl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user