public void DecompressStrTest() { string encodedData = tree.Compress(COMPRESSION_STR); string decodedStr = tree.Decompress(encodedData); TestStrEncode(encodedData); Assert.AreEqual(true, encodedData.Length < decodedStr.Length, "decode len should be longer"); Assert.AreEqual(COMPRESSION_STR.Length, decodedStr.Length, "Length not the same as the orginal"); Assert.AreEqual(COMPRESSION_STR, decodedStr, "strings are different from each other"); }