From f7bf999f3dc360f1b4207856153e0cb410d8afe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Wed, 9 Oct 2024 15:10:05 +0200 Subject: [PATCH] Add test --- test/FlatZinc/model.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/FlatZinc/model.jl b/test/FlatZinc/model.jl index 742a7622..41bfe00a 100644 --- a/test/FlatZinc/model.jl +++ b/test/FlatZinc/model.jl @@ -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, @@ -105,4 +109,4 @@ @test MOI.supports_add_constrained_variable(m, S) @test MOI.supports_add_constrained_variables(m, S) end -end \ No newline at end of file +end