Skip to content

Commit 904520d

Browse files
committed
Adapt testchanges
1 parent 8178945 commit 904520d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/ImageSharp.Tests/Formats/Jpg/JpegColorConverterTests.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ static void RunTest(string arg)
157157
expectedType = typeof(JpegColorConverterBase.CmykVector);
158158
}
159159
else if (AdvSimd.IsSupported)
160+
{
161+
expectedType = typeof(JpegColorConverterBase.CmykVector);
162+
}
163+
else if (AdvSimd.Arm64.IsSupported)
160164
{
161165
expectedType = typeof(JpegColorConverterBase.CmykArm64);
162166
}
@@ -191,7 +195,7 @@ static void RunTest(string arg)
191195
}
192196
else if (AdvSimd.IsSupported)
193197
{
194-
expectedType = typeof(JpegColorConverterBase.YCbCrVector);
198+
expectedType = typeof(JpegColorConverterBase.YCbCrArm);
195199
}
196200

197201
// act
@@ -226,6 +230,10 @@ static void RunTest(string arg)
226230
{
227231
expectedType = typeof(JpegColorConverterBase.YccKVector);
228232
}
233+
else if (AdvSimd.Arm64.IsSupported)
234+
{
235+
expectedType = typeof(JpegColorConverterBase.YccKArm64);
236+
}
229237

230238
// act
231239
JpegColorConverterBase converter = JpegColorConverterBase.GetConverter(JpegColorSpace.Ycck, 8);

0 commit comments

Comments
 (0)