@@ -35,7 +35,8 @@ public class ResizeTests
3535 nameof ( KnownResamplers . Lanczos5 ) ,
3636 } ;
3737
38- private static readonly ImageComparer ValidatorComparer = ImageComparer . TolerantPercentage ( 0.07F ) ;
38+ private static readonly ImageComparer ValidatorComparer =
39+ ImageComparer . TolerantPercentage ( TestEnvironment . IsOSX && TestEnvironment . RunsOnCI ? 0.26F : 0.07F ) ;
3940
4041 [ Fact ]
4142 public void Resize_PixelAgnostic ( )
@@ -355,7 +356,6 @@ public void Resize_WorksWithAllResamplers<TPixel>(
355356 }
356357
357358 [ Theory ]
358- [ PlatformSpecific ( ~ TestPlatforms . OSX ) ]
359359 [ WithFileCollection ( nameof ( CommonTestImages ) , DefaultPixelType ) ]
360360 public void ResizeFromSourceRectangle < TPixel > ( TestImageProvider < TPixel > provider )
361361 where TPixel : unmanaged, IPixel < TPixel >
@@ -438,7 +438,6 @@ public void ResizeWidthCannotKeepAspectKeepsOnePixel<TPixel>(TestImageProvider<T
438438 }
439439
440440 [ Theory ]
441- [ PlatformSpecific ( ~ TestPlatforms . OSX ) ]
442441 [ WithFileCollection ( nameof ( CommonTestImages ) , DefaultPixelType ) ]
443442 public void ResizeWithBoxPadMode < TPixel > ( TestImageProvider < TPixel > provider )
444443 where TPixel : unmanaged, IPixel < TPixel >
@@ -549,7 +548,6 @@ public void ResizeWithMinMode<TPixel>(TestImageProvider<TPixel> provider)
549548 }
550549
551550 [ Theory ]
552- [ PlatformSpecific ( ~ TestPlatforms . OSX ) ]
553551 [ WithFileCollection ( nameof ( CommonTestImages ) , DefaultPixelType ) ]
554552 public void ResizeWithPadMode < TPixel > ( TestImageProvider < TPixel > provider )
555553 where TPixel : unmanaged, IPixel < TPixel >
0 commit comments