コード例 #1
0
        public void Day13Part2Exercise()
        {
            var arcade = new ArcadeMachine();

            arcade.Load();
            arcade.InsertCash();
            arcade.Play();
            arcade.Score.Should().Be(15957);
        }
コード例 #2
0
        public void Day13Part1Exercise()
        {
            var arcade = new ArcadeMachine();

            arcade.Load();
            arcade.Play();
            var blocks = arcade.Screen.Pixels.Count(c => c.Value == "#");

            blocks.Should().Be(324);
        }