Browse Source

Test another property to be sure

pull/1385/head
James Jackson-South 5 years ago
parent
commit
d50439ee78
  1. 6
      tests/ImageSharp.Tests/TestUtilities/Tests/FeatureTestRunnerTests.cs

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

@ -50,13 +50,15 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities.Tests
HwIntrinsics.AllowAll);
}
#if SUPPORTS_RUNTIME_INTRINSICS
[Fact]
public void CanLimitHwIntrinsicFeatures()
{
FeatureTestRunner.RunWithHwIntrinsicsFeature(
() => Assert.False(Vector.IsHardwareAccelerated, nameof(Vector.IsHardwareAccelerated)),
HwIntrinsics.DisableSIMD);
() => Assert.False(Sse.IsSupported, nameof(Sse.IsSupported)),
HwIntrinsics.DisableSSE);
}
#endif
// [Fact]
// public void CanLimitHwIntrinsicFeaturesWithIntrinsicsParam()

Loading…
Cancel
Save