diff --git a/test/math_opt_test.rb b/test/math_opt_test.rb index cbe4080..5e4c1c7 100644 --- a/test/math_opt_test.rb +++ b/test/math_opt_test.rb @@ -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)