Skip to content

Commit

Permalink
Update math/check_amicable_pair.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: David Leal <[email protected]>
  • Loading branch information
ewd00010 and Panquesito7 authored May 30, 2023
1 parent 2023b84 commit 59acc1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/check_amicable_pair.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ bool are_amicable(int x, int y) {
* @brief Self-test implementations
* @returns void
*/
void tests() {
static void tests() {
assert(math::are_amicable(220, 284) == true);
assert(math::are_amicable(6368, 6232) == true);
assert(math::are_amicable(458, 232) == false);
Expand Down

0 comments on commit 59acc1d

Please sign in to comment.