Skip to content

Update quickcheck#260

Merged
iliekturtles merged 3 commits into
masterfrom
dev-change-base
Aug 18, 2021
Merged

Update quickcheck#260
iliekturtles merged 3 commits into
masterfrom
dev-change-base

Conversation

@iliekturtles

Copy link
Copy Markdown
Owner

Update to the latest version. Requires fixing floating point precision issues since the latest version of quickcheck provides a better range of values that weren't seen before. Will also require bumping the MSRV.

@iliekturtles iliekturtles force-pushed the dev-change-base branch 3 times, most recently from 7d9d06d to 7080595 Compare June 25, 2021 22:42
@iliekturtles iliekturtles force-pushed the dev-change-base branch 3 times, most recently from 82d9c2c to 2262014 Compare July 2, 2021 02:02
Change is required for future dependency updates.
The feature will be removed in a future release of uom. Functionality
previously exposed by the feature is now enabled by default.
@codecov-commenter

codecov-commenter commented Aug 17, 2021

Copy link
Copy Markdown

Codecov Report

Merging #260 (cad039c) into master (b1befd8) will increase coverage by 0.61%.
The diff coverage is 97.19%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
+ Coverage   96.78%   97.39%   +0.61%     
==========================================
  Files          58       58              
  Lines        2735     2846     +111     
==========================================
+ Hits         2647     2772     +125     
+ Misses         88       74      -14     
Impacted Files Coverage Δ
src/lib.rs 25.00% <ø> (ø)
src/si/time.rs 85.36% <81.48%> (+85.36%) ⬆️
src/si/ratio.rs 87.50% <100.00%> (-0.50%) ⬇️
src/system.rs 85.95% <100.00%> (+2.16%) ⬆️
src/tests/mod.rs 65.38% <100.00%> (-3.37%) ⬇️
src/tests/quantity.rs 100.00% <100.00%> (+1.36%) ⬆️
src/tests/system.rs 100.00% <100.00%> (+2.68%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b1befd8...cad039c. Read the comment docs.

Change required the MSRV update as well as refactoring `from_base`,
`to_base`, and multiple tests. The `from_base` and `to_base` changes
provide better floating point precision while still maintaing zero-cost
guarantees. The test changes better handle floating point precision
issues as well as the wider range of values generated by `quickcheck`
1.0's `Arbitrary` implementation.
@iliekturtles iliekturtles merged commit 8adc731 into master Aug 18, 2021
@iliekturtles iliekturtles deleted the dev-change-base branch August 18, 2021 21:06
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.

2 participants