Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bridges] remove duplicated test #2395

Merged
merged 1 commit into from
Jan 8, 2024
Merged

[Bridges] remove duplicated test #2395

merged 1 commit into from
Jan 8, 2024

Conversation

odow
Copy link
Member

@odow odow commented Jan 8, 2024

Exact test is also here:

function test_canonical_constraint_function()
inner = MOI.Utilities.UniversalFallback(MOI.Utilities.Model{Float64}())
model = MOI.Bridges.Constraint.ScalarFunctionize{Float64}(inner)
x = MOI.add_variable(model)
ci = MOI.add_constraint(model, x, MOI.GreaterThan(0.0))
@test MOI.get(model, MOI.CanonicalConstraintFunction(), ci) x
return
end

@odow odow merged commit 8ddc767 into master Jan 8, 2024
17 checks passed
@odow odow deleted the od/rm-duplicated-test branch January 8, 2024 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant