Skip to content

Commit 185f7d6

Browse files
Fix tests
1 parent 84e2c32 commit 185f7d6

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

tests/ImageSharp.Drawing.Tests/Drawing/ProcessWithCanvas.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public void CanvasActionDefaultOptions()
1818
PaintProcessor processor = this.Verify<PaintProcessor>();
1919

2020
GraphicsOptions expectedOptions = this.graphicsOptions;
21-
Assert.Equal(this.shapeOptions, processor.Options.ShapeOptions);
2221
Assert.Equal(expectedOptions.BlendPercentage, processor.Options.GraphicsOptions.BlendPercentage);
2322
Assert.Equal(expectedOptions.AlphaCompositionMode, processor.Options.GraphicsOptions.AlphaCompositionMode);
2423
Assert.Equal(expectedOptions.ColorBlendingMode, processor.Options.GraphicsOptions.ColorBlendingMode);

tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Six Labors.
22
// Licensed under the Six Labors Split License.
33

4-
using SixLabors.ImageSharp.Drawing.Processing;
54
using SixLabors.ImageSharp.PixelFormats;
65
using SixLabors.ImageSharp.Processing;
76

@@ -13,7 +12,6 @@ public abstract class BaseImageOperationsExtensionTest : IDisposable
1312
private readonly FakeImageOperationsProvider.FakeImageOperations<Rgba32> internalOperations;
1413
protected readonly Rectangle rect;
1514
protected readonly GraphicsOptions graphicsOptions;
16-
protected readonly ShapeOptions shapeOptions;
1715
private readonly Image<Rgba32> source;
1816

1917
public Rectangle SourceBounds() => this.source.Bounds;
@@ -28,11 +26,9 @@ public BaseImageOperationsExtensionTest()
2826
ColorBlendingMode = PixelColorBlendingMode.Multiply
2927
};
3028

31-
this.shapeOptions = new ShapeOptions { IntersectionRule = IntersectionRule.NonZero };
3229
this.source = new Image<Rgba32>(91 + 324, 123 + 56);
3330
this.rect = new Rectangle(91, 123, 324, 56); // make this random?
3431
this.internalOperations = new FakeImageOperationsProvider.FakeImageOperations<Rgba32>(this.source.Configuration, this.source, false);
35-
this.internalOperations.SetShapeOptions(this.shapeOptions);
3632
this.internalOperations.SetGraphicsOptions(this.graphicsOptions);
3733
this.operations = this.internalOperations;
3834
}

0 commit comments

Comments
 (0)