We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 667b370 commit 59aff6bCopy full SHA for 59aff6b
1 file changed
tests/ImageSharp.Drawing.Tests/Drawing/Text/DrawTextOnImageTests.cs
@@ -25,9 +25,7 @@ public class DrawTextOnImageTests
25
26
private const string TestText = "Sphinx of black quartz, judge my vow\n0123456789";
27
28
- private static readonly ImageComparer TextDrawingComparer = TestEnvironment.IsFramework || TestEnvironment.NetCoreVersion.StartsWith("2")
29
- ? ImageComparer.TolerantPercentage(1e-2f) // Relax comparison on .NET Framework and .NET Core 2.x
30
- : ImageComparer.TolerantPercentage(1e-3f);
+ private static readonly ImageComparer TextDrawingComparer = ImageComparer.TolerantPercentage(1e-2f);
31
32
private static readonly ImageComparer OutlinedTextDrawingComparer = ImageComparer.TolerantPercentage(6e-4f);
33
0 commit comments