From 857e53dc387ac999a295f7ceed9bbd2969e4f540 Mon Sep 17 00:00:00 2001 From: Piotr Idzik <65706193+vil02@users.noreply.github.com> Date: Fri, 23 Jun 2023 23:25:01 +0200 Subject: [PATCH] feat: display message when all tests pass Co-authored-by: David Leal --- math/ncr_modulo_p.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/math/ncr_modulo_p.cpp b/math/ncr_modulo_p.cpp index ca46b4e6d32..766897ac18c 100644 --- a/math/ncr_modulo_p.cpp +++ b/math/ncr_modulo_p.cpp @@ -165,6 +165,8 @@ static void tests() { assert(math::ncr_modulo_p::NCRModuloP(tc.size, tc.p).ncr(tc.n, tc.r) == tc.expected); } + + std::cout << "\n\nAll tests have successfully passed!\n"; } /**