Browse Source

Adds strecthed test image

Former-commit-id: 086035112686a1d94c2e8ac130b3e5566936c092
Former-commit-id: 169f2a9287b2a5fd57b2da891feb9a1d3223e5d6
af/merge-core
Thomas Broust 11 years ago
parent
commit
7c7216647a
  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