Browse Source

Adds strecthed test image

Former-commit-id: e7dd960547bb07f434b999865c7d89a4455e1d49
Former-commit-id: c9f3278e7792e7ab0185f455fefa42516dde8d86
af/merge-core
Thomas Broust 12 years ago
parent
commit
874a229b6d
  1. 8
      src/ImageProcessor.UnitTests/ImageFactoryUnitTests.cs
  2. 3
      src/ImageProcessor.UnitTests/ImageProcessor.UnitTests.csproj
  3. 3
      src/ImageProcessor.UnitTests/Images/stretched.jpg

8
src/ImageProcessor.UnitTests/ImageFactoryUnitTests.cs

@ -359,8 +359,10 @@ namespace ImageProcessor.UnitTests
imageFactory.Reset();
AssertionHelpers.AssertImagesAreIdentical(original, imageFactory.Image, "because the image should be reset");
imageFactory.Format(new ImageProcessor.Imaging.Formats.JpegFormat()).Save("./output/filter-" + j++.ToString() + "-image-" + i++.ToString() + ".jpg");
imageFactory.Format(new ImageProcessor.Imaging.Formats.JpegFormat()).Save("./output/filter-" + j++.ToString() + "-image-" + i.ToString() + ".jpg");
}
i++;
}
}
@ -671,8 +673,10 @@ namespace ImageProcessor.UnitTests
imageFactory.Reset();
AssertionHelpers.AssertImagesAreIdentical(original, imageFactory.Image, "because the image should be reset");
imageFactory.Format(new ImageProcessor.Imaging.Formats.JpegFormat()).Save("./output/edgefilter-" + j++.ToString() + "-image-" + i++.ToString() + ".jpg");
imageFactory.Format(new ImageProcessor.Imaging.Formats.JpegFormat()).Save("./output/edgefilter-" + j++.ToString() + "-image-" + i.ToString() + ".jpg");
}
i++;
}
}

3
src/ImageProcessor.UnitTests/ImageProcessor.UnitTests.csproj

@ -134,6 +134,9 @@
<Content Include="Images\color-modes\srgb.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\stretched.jpg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\text.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>

3
src/ImageProcessor.UnitTests/Images/stretched.jpg

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1444d3336f0f04126c31850ff9dd89205bd7a553f7d4d1eb1df406fb6c344fa3
size 32300
Loading…
Cancel
Save