Skip to content

Exhaustively test each policy

609aef5
Select commit
Loading
Failed to load commit list.
Merged

Add examples of each of the different policies #8

Exhaustively test each policy
609aef5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 4, 2026 in 0s

98.1% (target 90.0%)

View this Pull Request on Codecov

98.1% (target 90.0%)

Details

Codecov Report

❌ Patch coverage is 97.61029% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.1%. Comparing base (a6f6a50) to head (609aef5).

Files with missing lines Patch % Lines
examples/checked_arithmetic.cpp 79.5% 4 Missing and 3 partials ⚠️
examples/overflowing_arithmetic.cpp 88.9% 1 Missing and 3 partials ⚠️
examples/wrapping_arithmetic.cpp 93.8% 0 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop      #8     +/-   ##
=========================================
- Coverage     98.2%   98.1%   -0.1%     
=========================================
  Files           48      54      +6     
  Lines         1573    2117    +544     
  Branches       373     598    +225     
=========================================
+ Hits          1544    2075    +531     
- Misses          13      18      +5     
- Partials        16      24      +8     
Files with missing lines Coverage Δ
examples/saturating_arithmetic.cpp 100.0% <100.0%> (ø)
test/test_boundary_arithmetic.cpp 100.0% <100.0%> (ø)
test/test_exhaustive_u8_arithmetic.cpp 100.0% <100.0%> (ø)
examples/wrapping_arithmetic.cpp 93.8% <93.8%> (ø)
examples/overflowing_arithmetic.cpp 88.9% <88.9%> (ø)
examples/checked_arithmetic.cpp 79.5% <79.5%> (ø)

Continue to review full report in Codecov by Sentry.

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

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