JuliaMath / FixedPointNumbers.jl

fixed point types for julia
Other
79 stars 34 forks source link

Add test for `unsafe_trunc` returning arbitrary values #289

Closed kimikage closed 2 months ago

kimikage commented 2 months ago

This is in preparation for fixing issue #288. The actual modification will be done in a separate PR.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.05%. Comparing base (4b797a0) to head (739f83e).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #289 +/- ## ======================================= Coverage 97.05% 97.05% ======================================= Files 7 7 Lines 782 782 ======================================= Hits 759 759 Misses 23 23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

kimikage commented 2 months ago

Fine, everything is broken except the nightly build!

In my defense, this was (potentially) broken before I changed it and would have been even more broken if I hadn't.