77
88namespace SixLabors . ImageSharp . Tests . Drawing
99{
10- public class FillRadialGradientBrushTests : FileTestBase
10+ [ GroupOutput ( "Drawing/GradientBrushes" ) ]
11+ public class FillRadialGradientBrushTests
1112 {
1213 [ Theory ]
1314 [ WithBlankImages ( 200 , 200 , PixelTypes . Rgba32 ) ]
14- public void RadialGradientBrushWithEqualColorsReturnsUnicolorImage < TPixel > (
15+ public void WithEqualColorsReturnsUnicolorImage < TPixel > (
1516 TestImageProvider < TPixel > provider )
1617 where TPixel : struct , IPixel < TPixel >
1718 {
@@ -40,7 +41,7 @@ public void RadialGradientBrushWithEqualColorsReturnsUnicolorImage<TPixel>(
4041 [ WithBlankImages ( 200 , 200 , PixelTypes . Rgba32 , 100 , 0 ) ]
4142 [ WithBlankImages ( 200 , 200 , PixelTypes . Rgba32 , 0 , 100 ) ]
4243 [ WithBlankImages ( 200 , 200 , PixelTypes . Rgba32 , - 40 , 100 ) ]
43- public void RadialGradientBrushWithDifferentCentersReturnsImage < TPixel > (
44+ public void WithDifferentCentersReturnsImage < TPixel > (
4445 TestImageProvider < TPixel > provider ,
4546 int centerX ,
4647 int centerY )
@@ -57,7 +58,7 @@ public void RadialGradientBrushWithDifferentCentersReturnsImage<TPixel>(
5758 new ColorStop < TPixel > ( 1 , NamedColors < TPixel > . Yellow ) ) ;
5859
5960 image . Mutate ( x => x . Fill ( brush ) ) ;
60- image . DebugSave ( provider ) ;
61+ image . DebugSave ( provider , $ "center { centerX : D3 } , { centerY : D3 } " ) ;
6162 image . CompareToReferenceOutput ( provider ) ;
6263 }
6364 }
0 commit comments