public void ShouldGetImageBytes() { var reader = new SegyReader(); var segy = reader.Read(@"./Examples/lineE.sgy"); var imageWriter = new ImageWriter(); var bytes = imageWriter.GetRaw32BppRgba(segy.Traces); var expected = 4 * segy.Traces.Count * segy.Traces[0].Values.Count; Assert.That(bytes.Length, Is.EqualTo(expected)); }