We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8eff66 commit 2ede2f0Copy full SHA for 2ede2f0
test/General/errors.jl
@@ -300,6 +300,16 @@ function test_errors_ResultIndexBoundsError()
300
" bounds. There are currently 0 solution(s) in the model."
301
end
302
303
+function test_errors_ConflictIndexBoundsError()
304
+ @test sprint(
305
+ showerror,
306
+ MOI.ConflictIndexBoundsError(MOI.ConstraintConflictStatus(1), 0),
307
+ ) ==
308
+ "Conflict index of attribute " *
309
+ "MathOptInterface.ConstraintConflictStatus(1) out of bounds. " *
310
+ "There are currently 0 conflict(s) in the model."
311
+end
312
+
313
function test_errors_InvalidCalbackUsage()
314
@test sprint(
315
showerror,
0 commit comments