private void Decompress(byte[] compressed, byte[] expected) { var uncompressed = PictureCompression.Decompress(compressed, 0, compressed.Length, expected.Length); uncompressed.Should().BeEquivalentTo(expected); }
public void DecompressNull() { Action act = () => PictureCompression.Decompress(null, 0, 0, 0); act.Should().Throw <ArgumentNullException>(); }