Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Oct 9, 2024
1 parent 42d14c7 commit 8564a35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/FlatZinc/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
@testset "Supported constraints" begin
m = CP.FlatZinc.Model()

@test MOI.supports(
m,
MOI.ObjectiveFunction{MOI.VariableIndex}(),
)
@test MOI.supports_constraint(
m,
MOI.VariableIndex,
Expand Down Expand Up @@ -105,4 +109,4 @@
@test MOI.supports_add_constrained_variable(m, S)
@test MOI.supports_add_constrained_variables(m, S)
end
end
end

0 comments on commit 8564a35

Please sign in to comment.