From 3884ffa628da5d6a42f6217e13b4671bfbe3448a Mon Sep 17 00:00:00 2001 From: Michael Durrant Date: Wed, 14 Jun 2023 10:04:02 -0600 Subject: [PATCH] changed threhsold --- src/Ryujinx.Tests/Graphics/AstcDecoderTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Ryujinx.Tests/Graphics/AstcDecoderTests.cs b/src/Ryujinx.Tests/Graphics/AstcDecoderTests.cs index 1d80951ca..c19996bb5 100644 --- a/src/Ryujinx.Tests/Graphics/AstcDecoderTests.cs +++ b/src/Ryujinx.Tests/Graphics/AstcDecoderTests.cs @@ -109,8 +109,7 @@ namespace Ryujinx.Tests.Graphics Debug.WriteLine($"{tcp*100:F4}% ({tc}/{byteDifferences.Count}) are different by at least {threshold}."); } - Assert.IsTrue(byteDifferences.All(x => Math.Abs(x.delta) <= 2)); - Assert.IsTrue(decodedRef.Equals(outputBuffer)); + Assert.IsTrue(byteDifferences.All(x => Math.Abs(x.delta) < 2)); } ///