Update math/magic_number.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Neha Hasija
2020-10-21 23:36:54 +05:30
committed by GitHub
parent 388ee00985
commit 7643a23359

View File

@@ -50,7 +50,7 @@ bool magic_number(int n) {
*/
static void tests() {
std::cout << "Test 1:\t n=60\n";
assert(magic_number(60) == false);
assert(math::magic_number(60) == false);
std::cout << "passed\n";
std::cout << "Test 2:\t n=730\n";