Esempio n. 1
0
        public void PuzzleOne()
        {
            // Arrange
            var input = CreateLayout(0);

            // Act
            var actual = SeatingSystem.Stabilize(input);

            // Assert
            Assert.Equal(37, actual);
        }
Esempio n. 2
0
        public void PuzzlePartOne()
        {
            //  Arrange
            var input = File
                        .ReadLines("tests/y2020/Day11.Input.txt")
                        .ToLayout();

            // Act
            var actual = SeatingSystem.Stabilize(input);

            // Assert
            Assert.Equal(2361, actual);
        }