From: Bruno Haible Date: Sat, 17 May 2025 09:09:58 +0000 (+0200) Subject: next-prime tests: Add more tests. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27e7618c7c99b0d26738dd7470423a6fc6bef15;p=thirdparty%2Fgnulib.git next-prime tests: Add more tests. * tests/test-next-prime.c (main): Add another test case. --- diff --git a/ChangeLog b/ChangeLog index 39681ca16a..a1937a6772 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-05-17 Bruno Haible + + next-prime tests: Add more tests. + * tests/test-next-prime.c (main): Add another test case. + 2025-05-17 Bruno Haible clean-temp: Fix typo in comment. diff --git a/tests/test-next-prime.c b/tests/test-next-prime.c index 4a6a25e054..5bec1e0eeb 100644 --- a/tests/test-next-prime.c +++ b/tests/test-next-prime.c @@ -34,6 +34,8 @@ main () ASSERT (next_prime (12) == 13); ASSERT (next_prime (640) == 641); + ASSERT (next_prime (8647) == 8647); + ASSERT (next_prime (9551) == 9551); ASSERT (next_prime (9552) == 9587);