Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Aero-Spec authored Aug 29, 2024
1 parent 6223a09 commit 12cf9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ end

result = optimize(test_function, a, b, max_iterations=100, min_radius=1e-5)

# Ensure the result is within the bounds and the optimizer achieves high precision
# Ensures the result is within the bounds and the optimizer achieves high precision
@test 0.0 <= result[1] <= 1.0
@test 0.0 <= result[2] <= 1.0
@test isapprox(test_function(result), 0.0, atol=1e-5)
Expand Down

0 comments on commit 12cf9c4

Please sign in to comment.