Update math/magic_number.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Neha Hasija
2020-10-19 01:42:31 +05:30
committed by GitHub
parent e3f6382219
commit 579a290acb

View File

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