Beispiel #1
0
        public void testWithActualPartA()
        {
            var sut    = new DaySixteen();
            var result = sut.CalculateCheckSumToFillDisk("11011110011011101", 272);

            Assert.Equal("00000100100001100", result);
        }
Beispiel #2
0
        public void testCalculateCheckSumToFillDisk()
        {
            var sut    = new DaySixteen();
            var result = sut.CalculateCheckSumToFillDisk("10000", 20);

            Assert.Equal("01100", result);
        }