Skip to content

Commit

Permalink
test ObjectiveFunctionType
Browse files Browse the repository at this point in the history
  • Loading branch information
rschwarz committed Sep 26, 2019
1 parent 16a2025 commit 07c59a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/MOI_additional.jl
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ end
MOI.set(optimizer, MOI.ObjectiveSense(), MOI.MAX_SENSE)
@test MOI.get(optimizer, MOI.ObjectiveFunction{MOI.SingleVariable}()) == obj
@test MOI.get(optimizer, MOI.ObjectiveSense()) == MOI.MAX_SENSE
@test MOI.get(optimizer, MOI.ObjectiveFunctionType()) == MOI.ScalarAffineFunction{Float64}

MOI.empty!(optimizer)

Expand Down

0 comments on commit 07c59a9

Please sign in to comment.