@@ -52,28 +52,28 @@ function test_bounds()
5252 MOI. ConstraintConflictStatus (),
5353 index (UpperBoundRef (y)),
5454 ) == MOI. IN_CONFLICT
55- @test MOI. get (solver, MOIIS . ConflictCount ()) == 1
55+ @test MOI. get (solver, MOI . ConflictCount ()) == 1
5656 @test MOI. get (
5757 solver,
58- MOIIS . ConstraintConflictStatus (1 ),
58+ MOI . ConstraintConflictStatus (1 ),
5959 index (LowerBoundRef (y)),
6060 ) == MOI. IN_CONFLICT
6161 @test MOI. get (
6262 solver,
63- MOIIS . ConstraintConflictStatus (1 ),
63+ MOI . ConstraintConflictStatus (1 ),
6464 index (UpperBoundRef (y)),
6565 ) == MOI. IN_CONFLICT
66- @test MOI. get (solver, MOIIS . ConstraintConflictStatus (1 ), index (c)) ==
66+ @test MOI. get (solver, MOI . ConstraintConflictStatus (1 ), index (c)) ==
6767 MOI. NOT_IN_CONFLICT
6868 # the next two could be errors
6969 @test MOI. get (
7070 solver,
71- MOIIS . ConstraintConflictStatus (2 ),
71+ MOI . ConstraintConflictStatus (2 ),
7272 index (LowerBoundRef (y)),
7373 ) == MOI. NOT_IN_CONFLICT
7474 @test MOI. get (
7575 solver,
76- MOIIS . ConstraintConflictStatus (2 ),
76+ MOI . ConstraintConflictStatus (2 ),
7777 index (UpperBoundRef (y)),
7878 ) == MOI. NOT_IN_CONFLICT
7979 #
@@ -749,6 +749,13 @@ function test_iis_binary()
749749 return
750750end
751751
752+ function test_deprecated ()
753+ @test (@test_deprecated MOIIS. ConflictCount ()) == MOI. ConflictCount ()
754+ @test (@test_deprecated MOIIS. ConstraintConflictStatus (2 )) ==
755+ MOI. ConstraintConflictStatus (2 )
756+ return
757+ end
758+
752759end # module
753760
754761TestMathOptIIS. runtests ()
0 commit comments