public static int Main(params string[] args) { var input = InputReader.ReadAllText(); Console.WriteLine(input.GetDecompressedSize2(0, input.Length)); return(0); }
public void Part2() { var expected = 10943094568; var input = InputReader.ReadAllText(); Assert.Equal(expected, input.GetDecompressedSize2(0, input.Length)); }
public void DoesInputHaveWhitespace() { var all = InputReader.ReadAllText(); Assert.False(all.Contains(' ')); Assert.False(all.Contains('\t')); Assert.False(all.Contains('\r')); Assert.False(all.Contains('\n')); }
public void LengthIs99145() { var input = InputReader.ReadAllText(); Assert.Equal(99145, input.GetDecompressedSize(0)); }