void TestBit7(string text, byte[] correct) { byte[] result = Compress.Bit7Compress(text); Assert.IsTrue(result.SequenceEqual(correct)); Assert.AreEqual(text, Compress.Bit7Extract(result)); }
void TestBit7(string text, byte[] correct) { byte[] result = Compress.Bit7Compress(text); Assert.IsTrue(result.SequenceEqual(correct)); Assert.AreEqual(text, Compress.Bit7Extract(result)); }