public static void Problem16() { var filler = new DiskFiller(); var checksum = filler.Checksum("10001110011110000", 35651584); Console.WriteLine("Checksum = {0}", checksum); }
public void Checksum_IsCorrect_ForGivenInput() { var expected = "01100"; var sut = new DiskFiller(); var actual = sut.Checksum("10000", 20); Assert.Equal(expected, actual); }