Skip to content

Add test for self-intersection

ffb8a30
Select commit
Loading
Failed to load commit list.
Open

[Code health] Don't allow saving a duplicate vertex during polygon drawing session #3750

Add test for self-intersection
ffb8a30
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 21, 2026 in 1s

68.09% (+0.03%) compared to 6fa95fb

View this Pull Request on Codecov

68.09% (+0.03%) compared to 6fa95fb

Details

Codecov Report

❌ Patch coverage is 91.42857% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.09%. Comparing base (6fa95fb) to head (ffb8a30).

Files with missing lines Patch % Lines
...lection/tasks/polygon/PolygonDrawingSessionImpl.kt 88.46% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3750      +/-   ##
============================================
+ Coverage     68.06%   68.09%   +0.03%     
- Complexity     1613     1615       +2     
============================================
  Files           368      368              
  Lines          9528     9538      +10     
  Branches       1242     1244       +2     
============================================
+ Hits           6485     6495      +10     
  Misses         2376     2376              
  Partials        667      667              
Files with missing lines Coverage Δ
...acollection/tasks/polygon/DrawAreaTaskViewModel.kt 82.43% <100.00%> (+0.11%) ⬆️
...acollection/tasks/polygon/PolygonDrawingSession.kt 100.00% <ø> (ø)
...lection/tasks/polygon/PolygonDrawingSessionImpl.kt 92.98% <88.46%> (-0.77%) ⬇️

... and 1 file with indirect coverage changes

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