Skip to content

Commit c14af53

Browse files
committed
add test
1 parent 3135f10 commit c14af53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/OptimizationCMAEvolutionStrategy/test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ using Test
1818
return false
1919
end
2020
sol = solve(prob, CMAEvolutionStrategyOpt(), callback = cb, maxiters = 100)
21-
end
21+
@test sol.u == OptimizationCMAEvolutionStrategy.CMAEvolutionStrategy.xbest(sol.original)
22+
end

0 commit comments

Comments
 (0)