Removed invalid assertion

This commit is contained in:
Dimitri Vranken 2023-02-20 13:57:48 +01:00
parent 5593bc4a4b
commit e3aa7a5eae

View file

@ -461,7 +461,8 @@ public void Video_Snapshot_InMemory_SkiaSharp()
var input = FFProbe.Analyse(TestResources.Mp4Video);
Assert.AreEqual(input.PrimaryVideoStream!.Width, bitmap.Width);
Assert.AreEqual(input.PrimaryVideoStream.Height, bitmap.Height);
Assert.AreEqual(bitmap.ColorType, SkiaSharp.SKColorType.Bgra8888);
// Note: The resulting ColorType is dependent on the execution environment and therefore not assessed,
// e.g. Bgra8888 on Windows and Rgba8888 on macOS.
}
[TestMethod, Timeout(BaseTimeoutMilliseconds)]