public void NonSeekableStream() { var stream = new NoneSeekableStream(this.DataStream); var img = Image.Load <Rgba32>(this.TopLevelConfiguration, stream); Assert.NotNull(img); this.TestFormat.VerifySpecificDecodeCall <Rgba32>(this.Marker, this.TopLevelConfiguration); }
public void LoadFromNoneSeekableStream() { NoneSeekableStream stream = new NoneSeekableStream(this.DataStream); Image <Rgba32> img = Image.Load <Rgba32>(stream); Assert.NotNull(img); TestFormat.GlobalTestFormat.VerifyDecodeCall(this.Marker, Configuration.Default); }