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