11// Copyright (c) Six Labors and contributors.
22// Licensed under the Apache License, Version 2.0.
3+ using System ;
4+ using System . Collections . Generic ;
5+ using System . Linq ;
6+ using SixLabors . ImageSharp . PixelFormats ;
7+ using SixLabors . ImageSharp . Processing ;
8+ using SixLabors . ImageSharp . Processing . Drawing ;
9+ using SixLabors . ImageSharp . Tests . TestUtilities . ImageComparison ;
10+ using SixLabors . Primitives ;
11+ using Xunit ;
312
413// ReSharper disable InconsistentNaming
514namespace SixLabors . ImageSharp . Tests . Drawing
615{
7- using System ;
8- using System . Collections . Generic ;
9- using System . Linq ;
10-
11- using SixLabors . ImageSharp . PixelFormats ;
12- using SixLabors . ImageSharp . Processing ;
13- using SixLabors . ImageSharp . Processing . Drawing ;
14- using SixLabors . Primitives ;
15-
16- using Xunit ;
17-
1816 [ GroupOutput ( "Drawing" ) ]
1917 public class SolidFillBlendedShapesTests
2018 {
@@ -144,6 +142,13 @@ private static void VerifyImage<TPixel>(TestImageProvider<TPixel> provider, Pixe
144142 new { mode } ,
145143 appendPixelTypeToFileName : false ,
146144 appendSourceFileOrDescription : false ) ;
145+
146+ var comparer = ImageComparer . TolerantPercentage ( 0.01f , 3 ) ;
147+ img . CompareFirstFrameToReferenceOutput ( comparer ,
148+ provider ,
149+ new { mode } ,
150+ appendPixelTypeToFileName : false ,
151+ appendSourceFileOrDescription : false ) ;
147152 }
148153 }
149154}
0 commit comments