Browse Source

Add PHash comparer for images

pull/240/head
Ionite 1 year ago
parent
commit
c6c21b98c0
No known key found for this signature in database
  1. 2
      StabilityMatrix.UITests/ModuleInit.cs
  2. 1
      StabilityMatrix.UITests/StabilityMatrix.UITests.csproj

2
StabilityMatrix.UITests/ModuleInit.cs

@ -13,6 +13,8 @@ public static class ModuleInit
[ModuleInitializer]
public static void ConfigureVerify()
{
VerifyPhash.RegisterComparer("png");
DerivePathInfo(
(sourceFile, projectDirectory, type, method) =>
new PathInfo(

1
StabilityMatrix.UITests/StabilityMatrix.UITests.csproj

@ -16,6 +16,7 @@
<PackageReference Include="Verify" Version="22.1.4" />
<PackageReference Include="Verify.CommunityToolkit.Mvvm" Version="0.1.0" />
<PackageReference Include="Verify.Avalonia" Version="1.0.1" />
<PackageReference Include="Verify.Phash" Version="3.1.0" />
<PackageReference Include="Verify.Xunit" Version="22.1.4" />
<PackageReference Include="xunit" Version="2.6.1"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">

Loading…
Cancel
Save