mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-09 21:47:07 +08:00
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user