Browse Source

Add test with AVX disabled

pull/2024/head
Brian Popow 4 years ago
parent
commit
6e6673fcb9
  1. 3
      tests/ImageSharp.Tests/Formats/Png/Adler32Tests.cs

3
tests/ImageSharp.Tests/Formats/Png/Adler32Tests.cs

@ -55,6 +55,9 @@ namespace SixLabors.ImageSharp.Tests.Formats.Png
[Fact]
public void RunCalculateAdlerTest_WithHardwareIntrinsics_Works() => FeatureTestRunner.RunWithHwIntrinsicsFeature(RunCalculateAdlerTest, HwIntrinsics.AllowAll);
[Fact]
public void RunCalculateAdlerTest_WithAvxDisabled_Works() => FeatureTestRunner.RunWithHwIntrinsicsFeature(RunCalculateAdlerTest, HwIntrinsics.AllowAll | HwIntrinsics.DisableAVX2);
[Fact]
public void RunCalculateAdlerTest_WithoutHardwareIntrinsics_Works() => FeatureTestRunner.RunWithHwIntrinsicsFeature(RunCalculateAdlerTest, HwIntrinsics.DisableHWIntrinsic);

Loading…
Cancel
Save