Extends Verify to allow comparison of images via ImageHash.
See Milestones for release notes.
Contains comparers for png, jpg, and bmp.
https://nuget.org/packages/Verify.ImageHash/
[ModuleInitializer]
public static void Init() =>
VerifyImageHash.Initialize();
The following will use ImageHash to compare the images instead of the default DifferenceHash algorithm.
[Test]
public Task CompareImage() =>
VerifyFile("sample.jpg");
All comparers can be registered:
VerifyImageHash.RegisterComparers();
Swirl designed by Philipp Petzka from The Noun Project.