Skip to content

Add tests for identical image pixelmatch output consistency - #186

Merged
whtsky merged 2 commits into
masterfrom
tests
Mar 1, 2026
Merged

Add tests for identical image pixelmatch output consistency#186
whtsky merged 2 commits into
masterfrom
tests

Conversation

@whtsky

@whtsky whtsky commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Add golden-fixture tests to verify PIL.pixelmatch produces the same output as core.pixelmatch for identical images across various alpha values (0.0, 0.1, 0.5, 1.0), including both opaque and transparent images. Also add a test ensuring diff_mask output stays blank for identical images.

whtsky and others added 2 commits March 1, 2026 14:23
Add golden-fixture tests to verify PIL.pixelmatch produces the same
output as core.pixelmatch for identical images across various alpha
values (0.0, 0.1, 0.5, 1.0), including both opaque and transparent
images. Also add a test ensuring diff_mask output stays blank for
identical images.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Mar 1, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Mar 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.95%. Comparing base (e16dc53) to head (96c800d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #186   +/-   ##
=======================================
  Coverage   97.95%   97.95%           
=======================================
  Files           5        5           
  Lines         147      147           
=======================================
  Hits          144      144           
  Misses          3        3           

☔ 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.

@whtsky
whtsky merged commit cfa7e48 into master Mar 1, 2026
21 checks passed
@whtsky
whtsky deleted the tests branch March 1, 2026 06:39
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