private-attribution / ipa

A raw implementation of Interoperable Private Attribution
MIT License
42 stars 25 forks source link

update report::hybrid tests to use TestWorld::rng #1428

Closed eriktaubeneck closed 2 weeks ago

eriktaubeneck commented 2 weeks ago

small refactor to use

let world = TestWorld::default();
let mut rng = world.rng();

instead of

let mut rng = thread_rng();

in report::hybrid.rs tests.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 99.48980% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.42%. Comparing base (7f46319) to head (2a7c247). Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
ipa-core/src/report/hybrid.rs 99.48% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1428 +/- ## ========================================== + Coverage 93.39% 93.42% +0.03% ========================================== Files 225 227 +2 Lines 38979 39162 +183 ========================================== + Hits 36403 36589 +186 + Misses 2576 2573 -3 ```

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