示例#1
0
        public void SolvePart1()
        {
            var hc = new Honeycomb();

            hc.FlipTiles(File.ReadAllLines("input.txt"));
            hc.CountBlackTiles().ShouldBe(0);
        }
示例#2
0
        public void Flip1Tile()
        {
            var hc = new Honeycomb();

            hc.FlipTile("e");
            hc.CountBlackTiles().ShouldBe(1);
        }
示例#3
0
        public void TextOnExampleInput()
        {
            var hc = new Honeycomb();

            hc.FlipTiles(example);
            hc.CountBlackTiles().ShouldBe(10);
        }
示例#4
0
        public void Test1()
        {
            var hc = new Honeycomb();

            hc.CountBlackTiles().ShouldBe(0);
        }