Skip to content

Commit 9308b3a

Browse files
committed
SixLabors#542: cleanup test file names, fix naming for RadialGradientBrush test files
1 parent 16608b4 commit 9308b3a

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

tests/ImageSharp.Tests/Drawing/FillEllipticGradientBrushTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace SixLabors.ImageSharp.Tests.Drawing
1414
{
1515
[GroupOutput("Drawing/GradientBrushes")]
16-
public class FillEllipticGradientBrushTests : FileTestBase
16+
public class FillEllipticGradientBrushTests
1717
{
1818
[Theory]
1919
[WithBlankImages(10, 10, PixelTypes.Rgba32)]

tests/ImageSharp.Tests/Drawing/FillRadialGradientBrushTests.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77

88
namespace 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

Comments
 (0)