public void CompatibilityCompressEncodedURIComponentFromCSharp(LZStringTestCase test) { var compress = LZString.CompressToEncodedURIComponent(test.Uncompressed); var uncompress = RunNodeLzString("decompressFromEncodedURIComponent", compress); Console.WriteLine("c# compression result:"); Console.WriteLine(compress); Assert.That(uncompress, Is.EqualTo(test.Uncompressed)); }
public void CompressToEncodedURIComponent(LZStringTestCase test) { Assert.That(LZString.CompressToEncodedURIComponent(test.Uncompressed), Is.EqualTo(test.CompressedEncodedURIComponent)); }