mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-04 11:09:52 +08:00
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ static void tests() {
|
||||
std::cout << "passed\n";
|
||||
|
||||
std::cout << "Test 2:\t n=730\n";
|
||||
assert(magic_number(730) == true);
|
||||
assert(math::magic_number(730) == true);
|
||||
std::cout << "passed\n";
|
||||
|
||||
std::cout << "Test 3:\t n=0\n";
|
||||
|
||||
Reference in New Issue
Block a user