Skip to content

Add more tests with TASimage filling - #23119

Merged
linev merged 3 commits into
root-project:masterfrom
linev:tasimage_testing
Aug 21, 2026
Merged

Add more tests with TASimage filling#23119
linev merged 3 commits into
root-project:masterfrom
linev:tasimage_testing

Conversation

@linev

@linev linev commented Aug 20, 2026

Copy link
Copy Markdown
Member
  1. After filling of circle check not only edges, but also count number of filled points
  2. Add similar tests for box and polygon filling
  3. Add extra test demonstrating failure with TASImage::DrawEllips2 - see TASImage::DrawEllips2() works incorrectly when filling tilted ellipse #23120

linev added 3 commits August 20, 2026 15:55
Check not only corners, but also number of changed pixels. Compare with expected value calculated as ellipse area
Same as with circle, test different colors
and verify produced area
Resuse same method - just add switch to create different shapes
Drawn with angle 45 degree, ellipse filling does not work properly
@linev linev self-assigned this Aug 20, 2026
@linev
linev requested review from bellenot and couet as code owners August 20, 2026 13:59
@github-actions

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 16h 47m 1s ⏱️
 3 861 tests  3 861 ✅ 0 💤 0 ❌
78 658 runs  78 658 ✅ 0 💤 0 ❌

Results for commit 2a5ff15.

@linev
linev merged commit 32adf95 into root-project:master Aug 21, 2026
33 of 34 checks passed
@linev
linev deleted the tasimage_testing branch August 21, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants