Skip to content

Commit 8564a35

Browse files
committed
Add test
1 parent 42d14c7 commit 8564a35

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/FlatZinc/model.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
@testset "Supported constraints" begin
88
m = CP.FlatZinc.Model()
99

10+
@test MOI.supports(
11+
m,
12+
MOI.ObjectiveFunction{MOI.VariableIndex}(),
13+
)
1014
@test MOI.supports_constraint(
1115
m,
1216
MOI.VariableIndex,
@@ -105,4 +109,4 @@
105109
@test MOI.supports_add_constrained_variable(m, S)
106110
@test MOI.supports_add_constrained_variables(m, S)
107111
end
108-
end
112+
end

0 commit comments

Comments
 (0)