Skip to content

Commit 59acc1d

Browse files
Update math/check_amicable_pair.cpp
Co-authored-by: David Leal <[email protected]>
1 parent 2023b84 commit 59acc1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

math/check_amicable_pair.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ bool are_amicable(int x, int y) {
6464
* @brief Self-test implementations
6565
* @returns void
6666
*/
67-
void tests() {
67+
static void tests() {
6868
assert(math::are_amicable(220, 284) == true);
6969
assert(math::are_amicable(6368, 6232) == true);
7070
assert(math::are_amicable(458, 232) == false);

0 commit comments

Comments
 (0)