Skip to content

Commit

Permalink
Fix test items
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzaare committed Jun 23, 2024
1 parent 36ac0ca commit e1ce8b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ MathOptInterface = "1"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"

[targets]
test = ["Test"]
test = ["Aqua", "Test", "TestItemRunner"]
2 changes: 1 addition & 1 deletion src/constraints/sum.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ end
@constraint(model, Y in Sum(; op = <=, val = 10))

optimize!(model)
@info "Sum" objective_value(model)
@info "Sum" value.(X) value.(Y)
termination_status(model)
@info solution_summary(model)
end
2 changes: 2 additions & 0 deletions test/TestItemRunner.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using TestItemRunner

@testset "TestItemRunner" begin
@run_package_tests
end

0 comments on commit e1ce8b5

Please sign in to comment.