Skip to content

Commit

Permalink
Update lib/OptimizationEvolutionary/test/runtests.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Vaibhav Kumar Dixit <[email protected]>
  • Loading branch information
jonathanfischer97 and Vaibhavdixit02 authored Apr 5, 2024
1 parent 1ce2a62 commit 80f2155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OptimizationEvolutionary/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ Random.seed!(1234)
haskey(sol.original.trace[end].metadata, "x")

# Test the the values of x are saved, not the reference
@test sol.original.trace[end].metadata["x"] !=== sol.original.trace[end-1].metadata["x"]
@test !(sol.original.trace[end].metadata["x"] === sol.original.trace[end-1].metadata["x"])
end

0 comments on commit 80f2155

Please sign in to comment.