From 59acc1d701fff1e51a43988f89a9547281633bae Mon Sep 17 00:00:00 2001 From: ewd00010 <78011234+ewd00010@users.noreply.github.com> Date: Tue, 30 May 2023 15:14:46 +0100 Subject: [PATCH] Update math/check_amicable_pair.cpp Co-authored-by: David Leal --- math/check_amicable_pair.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/check_amicable_pair.cpp b/math/check_amicable_pair.cpp index d7b8ab5b1..733f1d61d 100644 --- a/math/check_amicable_pair.cpp +++ b/math/check_amicable_pair.cpp @@ -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);