Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Apr 3, 2024
1 parent d144597 commit 4a1acff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -910,15 +910,15 @@ function infeasible_problem()
return x, [c1, c2, c3], model
end

function testname_pass_empty()
function test_name_pass_empty()
model = Xpress.Optimizer()
Xpress._pass_names_to_solver(model)
@test Xpress._get_variable_names(model) == String[]
@test Xpress._get_constraint_names(model) == String[]
return
end

function testname_pass_very_long_variable()
function test_name_pass_very_long_variable()
model = Xpress.Optimizer()
x = MOI.add_variable(model)
MOI.set(model, MOI.VariableName(), x, "abc"^64)
Expand All @@ -927,7 +927,7 @@ function testname_pass_very_long_variable()
return
end

function testname_pass_very_long_constraint()
function test_name_pass_very_long_constraint()
model = Xpress.Optimizer()
x = MOI.add_variable(model)
c = MOI.add_constraint(model, 1.0 * x, MOI.EqualTo(0.0))
Expand Down

0 comments on commit 4a1acff

Please sign in to comment.