Skip to content

Commit b3acf45

Browse files
committed
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`.
1 parent 7dc2389 commit b3acf45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ end subroutine test_sqrt_perfect_square
4747

4848
! Test case 4: Square root of a non-perfect square (e.g., 2)
4949
subroutine test_sqrt_non_perfect_square()
50-
expected = 1.41421356
50+
expected = 1.4142136
5151
result = calculate_sqrt(2.0)
5252
call assert_test(result, expected, "Test 4: Square root of 2", tolerance)
5353
end subroutine test_sqrt_non_perfect_square

0 commit comments

Comments
 (0)