Beispiel #1
0
        public void testWithActualPartB()
        {
            var sot = new DayEighteen();

            var result = sot.CountOfSafeTilesInRows(DayEighteen.PUZZLE_INPUT, 400000);

            Assert.Equal(19998750, result);
        }
Beispiel #2
0
        public void testCountOfSafeTilesInRows()
        {
            string rowOne = ".^^.^.^^^^";

            var sot = new DayEighteen();

            var result = sot.CountOfSafeTilesInRows(rowOne, 10);

            Assert.Equal(38, result);
        }