Browse Source

Test FeatureSIMD

js/color-alpha-handling
James Jackson-South 5 years ago
parent
commit
13b570dd02
  1. 4
      tests/ImageSharp.Tests/TestUtilities/Tests/FeatureTestRunnerTests.cs

4
tests/ImageSharp.Tests/TestUtilities/Tests/FeatureTestRunnerTests.cs

@ -55,8 +55,8 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities.Tests
public void CanLimitHwIntrinsicFeatures()
{
FeatureTestRunner.RunWithHwIntrinsicsFeature(
() => Assert.False(Sse.IsSupported, nameof(Sse.IsSupported)),
HwIntrinsics.DisableSSE);
() => Assert.False(Vector.IsHardwareAccelerated, nameof(Vector.IsHardwareAccelerated)),
HwIntrinsics.DisableSIMD);
}
#endif

Loading…
Cancel
Save