Skip to content

fix(tests): adapt Compare API for Magick.NET 14#159

Merged
jsboige merged 1 commit into
masterfrom
fix/magicknet-14-compat
Mar 27, 2026
Merged

fix(tests): adapt Compare API for Magick.NET 14#159
jsboige merged 1 commit into
masterfrom
fix/magicknet-14-compat

Conversation

@jsboige

@jsboige jsboige commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to PR #147 (Magick.NET 13.5.0 → 14.11.1). The MagickImage.Compare API changed:

  • Old: Compare(image, metric, diffImage) returns double
  • New: Compare(image, metric, channels, out error) returns IMagickImage

Test plan

  • Build: 0 errors
  • Tests: 27/27 pass, 3 seconds

🤖 Generated with Claude Code

Magick.NET 14 changed MagickImage.Compare signature:
- Old: Compare(image, metric, diffImage) → double
- New: Compare(image, metric, channels, out error) → IMagickImage

Updated CardGenerationValidationTests to match the new API.
Build: 0 errors, Tests: 27/27 pass

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jsboige
jsboige merged commit 8aa107f into master Mar 27, 2026
@jsboige
jsboige deleted the fix/magicknet-14-compat branch June 1, 2026 21:42
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