@@ -76,7 +76,7 @@ public void DrawLines_EndCapRound<TPixel>(TestImageProvider<TPixel> provider, st
7676 where TPixel : unmanaged, IPixel < TPixel >
7777 {
7878 Color color = TestUtils . GetColorByName ( colorName ) . WithAlpha ( alpha ) ;
79- var pen = new Pen ( color , thickness ) ;
79+ Pen pen = new Pen ( color , thickness , new float [ ] { 3f , 3f } ) ;
8080 pen . EndCap = EndCapStyle . Round ;
8181
8282 DrawLinesImpl ( provider , colorName , alpha , thickness , antialias , pen ) ;
@@ -88,7 +88,7 @@ public void DrawLines_EndCapButt<TPixel>(TestImageProvider<TPixel> provider, str
8888 where TPixel : unmanaged, IPixel < TPixel >
8989 {
9090 Color color = TestUtils . GetColorByName ( colorName ) . WithAlpha ( alpha ) ;
91- var pen = new Pen ( color , thickness ) ;
91+ Pen pen = new Pen ( color , thickness , new float [ ] { 3f , 3f } ) ;
9292 pen . EndCap = EndCapStyle . Butt ;
9393
9494 DrawLinesImpl ( provider , colorName , alpha , thickness , antialias , pen ) ;
@@ -100,14 +100,14 @@ public void DrawLines_EndCapSquare<TPixel>(TestImageProvider<TPixel> provider, s
100100 where TPixel : unmanaged, IPixel < TPixel >
101101 {
102102 Color color = TestUtils . GetColorByName ( colorName ) . WithAlpha ( alpha ) ;
103- var pen = new Pen ( color , thickness ) ;
103+ Pen pen = new Pen ( color , thickness , new float [ ] { 3f , 3f } ) ;
104104 pen . EndCap = EndCapStyle . Square ;
105105
106106 DrawLinesImpl ( provider , colorName , alpha , thickness , antialias , pen ) ;
107107 }
108108
109109 [ Theory ]
110- [ WithBasicTestPatternImages ( 250 , 350 , PixelTypes . Rgba32 , "Yellow" , 1f , 5 , true ) ]
110+ [ WithBasicTestPatternImages ( 250 , 350 , PixelTypes . Rgba32 , "Yellow" , 1f , 10 , true ) ]
111111 public void DrawLines_JointStyleRound < TPixel > ( TestImageProvider < TPixel > provider , string colorName , float alpha , float thickness , bool antialias )
112112 where TPixel : unmanaged, IPixel < TPixel >
113113 {
@@ -119,7 +119,7 @@ public void DrawLines_JointStyleRound<TPixel>(TestImageProvider<TPixel> provider
119119 }
120120
121121 [ Theory ]
122- [ WithBasicTestPatternImages ( 250 , 350 , PixelTypes . Rgba32 , "Yellow" , 1f , 5 , true ) ]
122+ [ WithBasicTestPatternImages ( 250 , 350 , PixelTypes . Rgba32 , "Yellow" , 1f , 10 , true ) ]
123123 public void DrawLines_JointStyleSquare < TPixel > ( TestImageProvider < TPixel > provider , string colorName , float alpha , float thickness , bool antialias )
124124 where TPixel : unmanaged, IPixel < TPixel >
125125 {
@@ -131,7 +131,7 @@ public void DrawLines_JointStyleSquare<TPixel>(TestImageProvider<TPixel> provide
131131 }
132132
133133 [ Theory ]
134- [ WithBasicTestPatternImages ( 250 , 350 , PixelTypes . Rgba32 , "Yellow" , 1f , 5 , true ) ]
134+ [ WithBasicTestPatternImages ( 250 , 350 , PixelTypes . Rgba32 , "Yellow" , 1f , 10 , true ) ]
135135 public void DrawLines_JointStyleMiter < TPixel > ( TestImageProvider < TPixel > provider , string colorName , float alpha , float thickness , bool antialias )
136136 where TPixel : unmanaged, IPixel < TPixel >
137137 {
0 commit comments