Skip to content

Commit

Permalink
Fixed warnings [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 6, 2024
1 parent 4bdda53 commit c65a922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/math_opt_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ def test_binary_variable
assert_equal 1, result.variable_values[y]
end

def test_basic
def test_non_integer_solver
model = ORTools::MathOpt::Model.new("getting_started_lp")
x = model.add_integer_variable(-1.0, 1.5, "x")
model.add_integer_variable(-1.0, 1.5, "x")

error = assert_raises do
model.solve(:glop)
Expand Down

0 comments on commit c65a922

Please sign in to comment.