Skip to content

Commit ef278a5

Browse files
authored
Add test for typed tutorial (#354)
1 parent 452ee2b commit ef278a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/tutorials/Extension/typed.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import CSDP
2020
model = SOSModel(CSDP.Optimizer)
2121
con_ref = @constraint(model, 2x^4 + 5y^4 - x^2*y^2 >= -2(x^3*y + x + 1))
2222
optimize!(model)
23+
@test is_solved_and_feasible(model) #src
2324
solution_summary(model)
2425

2526
# We see that the problem is feasible. The Sum-of-Squares decomposition can be

0 commit comments

Comments
 (0)