From b3acf4584f127117ba2f6d5ca1f04ed88bb6be27 Mon Sep 17 00:00:00 2001 From: vil02 <65706193+vil02@users.noreply.github.com> Date: Thu, 4 Dec 2025 18:43:03 +0100 Subject: [PATCH] fix: update `tests_square_root.f90` to fix the CI The literal had too many digits to fit into `REAL(4)`. Also the test was moved to the `tests`. --- {modules => tests}/maths/tests_square_root.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {modules => tests}/maths/tests_square_root.f90 (99%) diff --git a/modules/maths/tests_square_root.f90 b/tests/maths/tests_square_root.f90 similarity index 99% rename from modules/maths/tests_square_root.f90 rename to tests/maths/tests_square_root.f90 index 867efd6..7a3f23b 100644 --- a/modules/maths/tests_square_root.f90 +++ b/tests/maths/tests_square_root.f90 @@ -47,7 +47,7 @@ end subroutine test_sqrt_perfect_square ! Test case 4: Square root of a non-perfect square (e.g., 2) subroutine test_sqrt_non_perfect_square() - expected = 1.41421356 + expected = 1.4142136 result = calculate_sqrt(2.0) call assert_test(result, expected, "Test 4: Square root of 2", tolerance) end subroutine test_sqrt_non_perfect_square