Skip to content

Commit b3ce02c

Browse files
Fix incorrect test on NET 32bit
1 parent dfd6aaa commit b3ce02c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ public void ToFeatureCollectionReturnsExpectedResult(HwIntrinsics expectedItrins
4545
[Fact]
4646
public void AllowsAllHwIntrinsicFeatures()
4747
{
48+
if (!Vector.IsHardwareAccelerated)
49+
{
50+
return;
51+
}
52+
4853
FeatureTestRunner.RunWithHwIntrinsicsFeature(
4954
() => Assert.True(Vector.IsHardwareAccelerated),
5055
HwIntrinsics.AllowAll);

0 commit comments

Comments
 (0)