Beispiel #1
0
        public void Part2()
        {
            var tracks   = new MineTracks(_input);
            var lastCart = tracks.MoveAllCartsTillOneLeft();

            Assert.Equal((70, 129), lastCart);
        }
Beispiel #2
0
        public void Part1()
        {
            var tracks    = new MineTracks(_input);
            var collision = tracks.MoveAllCartsTillCollision();

            Assert.Equal((118, 66), collision);
        }