SixLabors / ImageSharp.Drawing

:pen: Extensions to ImageSharp containing a cross-platform 2D polygon manipulation API and drawing operations.
https://sixlabors.com/products/imagesharp-drawing/
Other
282 stars 38 forks source link

Add tests for PatterBrush issue 241 #274

Closed JimBobSquarePants closed 1 year ago

JimBobSquarePants commented 1 year ago

Prerequisites

Description

Fixes #241 This must have been fixed in the rewrite of the brushes. I've added the test from the issue and removed some unused fields from the brush.

codecov[bot] commented 1 year ago

Codecov Report

Merging #274 (746f10f) into main (83747f4) will decrease coverage by 1%. The diff coverage is n/a.

@@         Coverage Diff         @@
##           main   #274   +/-   ##
===================================
- Coverage    78%    78%   -1%     
===================================
  Files        97     97           
  Lines      5067   5065    -2     
  Branches    932    932           
===================================
- Hits       3985   3983    -2     
  Misses      898    898           
  Partials    184    184           
Flag Coverage Δ
unittests 78% <ø> (-1%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/ImageSharp.Drawing/Processing/PatternBrush.cs 76% <ø> (-1%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more