Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Compressonator.NET.Tests/Snapshot/QualityEvaluationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -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);
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions Compressonator.NET.Tests/Snapshot/Resources/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Assorted Test Images
## Assorted Test Images

# WrWetzel HDTV / Monitor Test Patterns
https://patterns.wrwetzel.com/
Expand All @@ -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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.