Skip to content

Set the mock result count in constraint attribute tests - #243

Merged
blegat merged 1 commit into
masterfrom
bl/mock-result-count
Nov 10, 2026
Merged

blegat merged 1 commit into
masterfrom
bl/mock-result-count

Conversation

@blegat

@blegat blegat commented Nov 10, 2026

Copy link
Copy Markdown
Member

MOI now resets MockOptimizer ResultCount in empty!. Explicitly report one result when populating the mock solution, instead of relying on its constructor default. See jump-dev/MathOptInterface.jl#3127

MOI now resets MockOptimizer ResultCount in empty!. Explicitly report one result when populating the mock solution, instead of relying on its constructor default.

Validation: test/Tests/test_attributes.jl passes against current MOI master; JuliaFormatter 2 applied to the repository.
@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.39%. Comparing base (5d6aa2c) to head (768a9d0).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #243   +/-   ##
=======================================
  Coverage   95.39%   95.39%           
=======================================
  Files          17       17           
  Lines         913      913           
=======================================
  Hits          871      871           
  Misses         42       42           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@blegat
blegat merged commit db25bcc into master Nov 10, 2026
8 checks passed
@blegat
blegat deleted the bl/mock-result-count branch November 10, 2026 20:56
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