Skip to content

Add test for gradient cache-miss branch (100% coverage)#18

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

Add test for gradient cache-miss branch (100% coverage)#18
kdw503 merged 1 commit into
masterfrom
dwk/mng

Conversation

@kdw503
Copy link
Copy Markdown
Member

@kdw503 kdw503 commented May 15, 2026

Summary

  • Adds a single test that calls Interpolations.gradient at a location with a different center than the cached one, forcing the cache-update branch (lines 189–193) to execute.
  • Coverage increases from 91.1% → 100%.

Test plan

  • CI passes with all 41 tests green.

🤖 Generated with Claude Code

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

codecov Bot commented May 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (810f208) to head (e3f0d18).

Additional details and impacted files
@@             Coverage Diff             @@
##           master       #18      +/-   ##
===========================================
+ Coverage   91.07%   100.00%   +8.92%     
===========================================
  Files           1         1              
  Lines          56        56              
===========================================
+ Hits           51        56       +5     
+ Misses          5         0       -5     

☔ 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 9717f86 into master May 15, 2026
4 checks passed
@kdw503 kdw503 deleted the dwk/mng branch May 15, 2026 18:09
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