diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests.cs b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests.cs index a2de47d..0cf6696 100644 --- a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests.cs +++ b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests.cs @@ -15,8 +15,7 @@ public class QualityEvaluationTests: SnapshotTestingBase "Resources/colorpatch.png", "Resources/squares.png", - //"Resources/wings.png", - //"Resources/tulipbody.png" + "Resources/wings.png" }; [DataRow(CMP_FORMAT.BC1, 1f)] @@ -49,10 +48,10 @@ public async Task VerifyTexture(CMP_FORMAT targetFormat, float quality, bool dis settings.UseFileName($"{targetFormat}-{quality}"); /// TMP: REMOVE IT! - settings.AutoVerify(); + //settings.AutoVerify(); var distortedPath = CurrentFile.Relative(SnapshotUtilities.GetFileNameForTest("png")); - CMP_Texture distortedTexture = SnapshotUtilities.RoundTripWithCompression(path, targetFormat, quality); + using CMP_Texture distortedTexture = SnapshotUtilities.RoundTripWithCompression(path, targetFormat, quality); await SnapshotUtilities.SaveVerifyDelete(distortedTexture, "png", settings); } diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC1-1.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC1-1.verified.png new file mode 100644 index 0000000..148834b Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC1-1.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC2-1.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC2-1.verified.png new file mode 100644 index 0000000..2b83f89 Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC2-1.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC3-1.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC3-1.verified.png new file mode 100644 index 0000000..2b83f89 Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC3-1.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC4-1.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC4-1.verified.png new file mode 100644 index 0000000..16908cf Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC4-1.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC5-1.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC5-1.verified.png new file mode 100644 index 0000000..bae4722 Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC5-1.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.05.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.05.verified.png new file mode 100644 index 0000000..1853d67 Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.05.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.1.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.1.verified.png new file mode 100644 index 0000000..1853d67 Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.1.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.25.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.25.verified.png new file mode 100644 index 0000000..1853d67 Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC6H-0.25.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.05.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.05.verified.png new file mode 100644 index 0000000..2e18c7b Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.05.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.1.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.1.verified.png new file mode 100644 index 0000000..5fddffb Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.1.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.2.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.2.verified.png new file mode 100644 index 0000000..1cf0da5 Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.2.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.25.verified.png b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.25.verified.png new file mode 100644 index 0000000..0e75259 Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/QualityEvaluationTests/wings.png/BC7-0.25.verified.png differ diff --git a/Compressonator.NET.Tests/Snapshot/Resources/README.md b/Compressonator.NET.Tests/Snapshot/Resources/README.md index 745844f..1a926b6 100644 --- a/Compressonator.NET.Tests/Snapshot/Resources/README.md +++ b/Compressonator.NET.Tests/Snapshot/Resources/README.md @@ -1,4 +1,4 @@ -## Assorted Test Images +## Assorted Test Images # WrWetzel HDTV / Monitor Test Patterns https://patterns.wrwetzel.com/ @@ -16,7 +16,8 @@ Copyright (C) 2011-2014 Nicola Asuni - Tecnick.com LTD # Misc - Shanghai.jpg - https://www.pexels.com/photo/shanghai-china-cityscape-302820/ listed as CC0 +- wings.png - Donated for science from [AngelboyVR](https://linktr.ee/AngelboyVR) -# these ones are taken by Redd +## these ones are taken by Redd - flowers.png - cc0 - helicotper.png - cc0 diff --git a/Compressonator.NET.Tests/Snapshot/Resources/wings.png b/Compressonator.NET.Tests/Snapshot/Resources/wings.png new file mode 100644 index 0000000..4c36cec Binary files /dev/null and b/Compressonator.NET.Tests/Snapshot/Resources/wings.png differ