public void DifferentCasesCompressionShorter() { string result = C01q06.CompressString("aaaaaaAAAAAbbbcccCCCCCCc"); Assert.Equal("a6A5b3c3C6c1", result); }
public void DifferentCasesInputShorter() { string result = C01q06.CompressString("aAbcCc"); Assert.Equal("aAbcCc", result); }
public void Empty() { string result = C01q06.CompressString(""); Assert.Equal("", result); }
public void CompressedToSameLength() { string result = C01q06.CompressString("aabccc"); Assert.Equal("aabccc", result); }
public void Sample() { string result = C01q06.CompressString("aabcccccaaa"); Assert.Equal("a2b1c5a3", result); }