@@ -202,13 +202,6 @@ public void TiffDecoder_CanDecode_12Bit_WithUnassociatedAlpha<TPixel>(TestImageP
202
202
public void TiffDecoder_CanDecode_12Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
203
203
where TPixel : unmanaged, IPixel < TPixel >
204
204
{
205
- if ( TestEnvironment . IsMacOS )
206
- {
207
- // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
208
- using Image < TPixel > image = provider . GetImage ( TiffDecoder . Instance ) ;
209
- image . DebugSave ( provider ) ;
210
- return ;
211
- }
212
205
213
206
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.264F ) ;
214
207
}
@@ -258,13 +251,6 @@ public void TiffDecoder_CanDecode_20Bit_WithAssociatedAlpha<TPixel>(TestImagePro
258
251
259
252
where TPixel : unmanaged, IPixel < TPixel >
260
253
{
261
- if ( TestEnvironment . IsMacOS )
262
- {
263
- // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
264
- using Image < TPixel > image = provider . GetImage ( TiffDecoder . Instance ) ;
265
- image . DebugSave ( provider ) ;
266
- return ;
267
- }
268
254
269
255
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.376F ) ;
270
256
}
@@ -284,13 +270,6 @@ public void TiffDecoder_CanDecode_24Bit_WithUnassociatedAlpha<TPixel>(TestImageP
284
270
public void TiffDecoder_CanDecode_24Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
285
271
where TPixel : unmanaged, IPixel < TPixel >
286
272
{
287
- if ( TestEnvironment . IsMacOS )
288
- {
289
- // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
290
- using Image < TPixel > image = provider . GetImage ( TiffDecoder . Instance ) ;
291
- image . DebugSave ( provider ) ;
292
- return ;
293
- }
294
273
295
274
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.405F ) ;
296
275
}
@@ -385,13 +364,6 @@ public void TiffDecoder_CanDecode_32Bit_WithUnassociatedAlpha<TPixel>(TestImageP
385
364
public void TiffDecoder_CanDecode_32Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
386
365
where TPixel : unmanaged, IPixel < TPixel >
387
366
{
388
- if ( TestEnvironment . IsMacOS )
389
- {
390
- // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
391
- using Image < TPixel > image = provider . GetImage ( TiffDecoder . Instance ) ;
392
- image . DebugSave ( provider ) ;
393
- return ;
394
- }
395
367
396
368
// Note: Using tolerant comparer here, because there is a small difference to the reference decoder probably due to floating point rounding issues.
397
369
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.004F ) ;
@@ -425,13 +397,6 @@ public void TiffDecoder_CanDecode_40Bit_WithUnassociatedAlpha<TPixel>(TestImageP
425
397
public void TiffDecoder_CanDecode_40Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
426
398
where TPixel : unmanaged, IPixel < TPixel >
427
399
{
428
- if ( TestEnvironment . IsMacOS )
429
- {
430
- // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
431
- using Image < TPixel > image = provider . GetImage ( TiffDecoder . Instance ) ;
432
- image . DebugSave ( provider ) ;
433
- return ;
434
- }
435
400
436
401
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.247F ) ;
437
402
}
@@ -463,13 +428,6 @@ public void TiffDecoder_CanDecode_48Bit_WithUnassociatedAlpha<TPixel>(TestImageP
463
428
public void TiffDecoder_CanDecode_48Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
464
429
where TPixel : unmanaged, IPixel < TPixel >
465
430
{
466
- if ( TestEnvironment . IsMacOS )
467
- {
468
- // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
469
- using Image < TPixel > image = provider . GetImage ( TiffDecoder . Instance ) ;
470
- image . DebugSave ( provider ) ;
471
- return ;
472
- }
473
431
474
432
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.118F ) ;
475
433
}
@@ -492,13 +450,6 @@ public void TiffDecoder_CanDecode_56Bit_WithUnassociatedAlpha<TPixel>(TestImageP
492
450
public void TiffDecoder_CanDecode_56Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
493
451
where TPixel : unmanaged, IPixel < TPixel >
494
452
{
495
- if ( TestEnvironment . IsMacOS )
496
- {
497
- // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
498
- using Image < TPixel > image = provider . GetImage ( TiffDecoder . Instance ) ;
499
- image . DebugSave ( provider ) ;
500
- return ;
501
- }
502
453
503
454
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.075F ) ;
504
455
}
0 commit comments