Skip to content

Add coverage tests: set_FFTPROD and extraunsafe_view internals#25

Merged
kdw503 merged 1 commit into
masterfrom
dwk/mng
May 18, 2026
Merged

Add coverage tests: set_FFTPROD and extraunsafe_view internals#25
kdw503 merged 1 commit into
masterfrom
dwk/mng

Conversation

@kdw503
Copy link
Copy Markdown
Member

@kdw503 kdw503 commented May 18, 2026

Summary

  • Adds a set_FFTPROD testset that exercises the function body (previously only FFTPROD[] was mutated directly in tests)
  • Adds an extraunsafe_view testset covering all four unsafe_reindex dispatch cases (UnitRange, scalar/dropped-dimension, AbstractArray, empty-tuple base case) and get_index_wo_boundcheck

Result

Coverage: 93.4% → 100% (240/240 lines), 332 tests passing (up from 327).

Test plan

  • Pkg.test() passes locally
  • Coverage re-verified at 100% with CoverageTools.jl

🤖 Generated with Claude Code

Brings coverage from 93.4% to 100%. set_FFTPROD was tested by direct
FFTPROD[] mutation instead of through the function; extraunsafe_view
and its unsafe_reindex/get_index_wo_boundcheck helpers had no tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2d3f71c) to head (3c6a351).

Additional details and impacted files
@@             Coverage Diff             @@
##           master       #25      +/-   ##
===========================================
+ Coverage   93.41%   100.00%   +6.58%     
===========================================
  Files           1         1              
  Lines         243       242       -1     
===========================================
+ Hits          227       242      +15     
+ Misses         16         0      -16     

☔ View full report in Codecov by Sentry.
📢 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.

@kdw503 kdw503 merged commit 498d9e0 into master May 18, 2026
4 checks passed
@kdw503 kdw503 deleted the dwk/mng branch May 18, 2026 22:13
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