Skip to content

Commit ee324fb

Browse files
committed
Improved test
1 parent b77fd7f commit ee324fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/shift_scheduling_sat_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_shift_scheduling_sat
208208
# status = solver.solve_with_solution_callback(model, solution_printer)
209209
status = solver.solve(model)
210210

211-
assert_equal :feasible, status
211+
assert_includes [:feasible, :optimal], status
212212
assert_operator solver.objective_value, :<=, 400
213213

214214
_assignments = num_employees.times.map do |e|

0 commit comments

Comments
 (0)