From 131c2cda23ee5bdee5879877fe46e2bd7c8774d0 Mon Sep 17 00:00:00 2001 From: Wacton Date: Fri, 11 Apr 2025 16:54:04 +0100 Subject: [PATCH] Log expected ICC conversion output earlier --- .../ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ImageSharp.Tests/ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs b/tests/ImageSharp.Tests/ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs index b8564a348..e1de080c4 100644 --- a/tests/ImageSharp.Tests/ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs +++ b/tests/ImageSharp.Tests/ColorProfiles/Icc/ColorProfileConverterTests.Icc.cs @@ -47,9 +47,9 @@ public class ColorProfileConverterTests(ITestOutputHelper testOutputHelper) foreach (float[] input in inputs) { double[] expectedTargetValues = GetExpectedTargetValues(sourceProfile, targetProfile, input); - Vector4 actualTargetValues = GetActualTargetValues(input, sourceProfile, targetProfile); - testOutputHelper.WriteLine($"Input {string.Join(", ", input)} ยท Expected output {string.Join(", ", expectedTargetValues)}"); + + Vector4 actualTargetValues = GetActualTargetValues(input, sourceProfile, targetProfile); for (int i = 0; i < expectedTargetValues.Length; i++) { Assert.Equal(expectedTargetValues[i], actualTargetValues[i], tolerance);