Example #1
0
        public override string SecondStar()
        {
            var input  = ReadLineInput();
            var result = PixelArt.CountPixelsOnAfterExpansion(input, 18);

            return(result.ToString());
        }
Example #2
0
        public void Problem1_Example()
        {
            string[] input =
            {
                "../.# => ##./#../...",
                ".#./..#/### => #..#/..../..../#..#"
            };

            var onCountAfterExpansion = PixelArt.CountPixelsOnAfterExpansion(input, 2);

            Assert.Equal(12, onCountAfterExpansion);
        }