Skip to content

Coverage with Julia >= 1.0 - #365

Open
PatrickHaecker wants to merge 2 commits into
JuliaMath:masterfrom
PatrickHaecker:coverage_with_Julia_1.0
Open

PatrickHaecker wants to merge 2 commits into
JuliaMath:masterfrom
PatrickHaecker:coverage_with_Julia_1.0

Conversation

@PatrickHaecker

Copy link
Copy Markdown
Collaborator

This is the (hopefully) uncontroversial part of #350, i.e. all changes which close coverage gaps while not bumping the dependency of the Julia version.

#350 then sits on top of this PR and will become smaller once the current PR is merged.

Patrick Häcker added 2 commits October 18, 2026 04:07
Covers reductions over empty and one-element arrays, `checked_mul` for
`f == 0`, the generic `AbstractFloat` conversion of `Normed`, hashing of
values that equal a `Rational` (which goes through `decompose`), `%` of a
foreign `Real` type, and the deprecated `floattype` fallback.

The reductions, the hashing and `%` behave the same for `Fixed` and
`Normed`, so common test functions check them over many raw types and
fractional bits.
`Normed{UInt8,f}` requires `1 <= f <= 8`, so after the checks for
`f <= 7` only `f == 8` remains and the final `0.0f0` could never be
returned.
@codecov

codecov Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.87%. Comparing base (d62abf3) to head (aed366b).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #365      +/-   ##
==========================================
+ Coverage   96.75%   98.87%   +2.12%     
==========================================
  Files           7        7              
  Lines         800      799       -1     
==========================================
+ Hits          774      790      +16     
+ Misses         26        9      -17     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant