Ejemplo n.º 1
0
        public void Part1_SmallExample()
        {
            var cups = "389125467".Select(x => int.Parse(x.ToString())).ToList();

            var answer = Day23.PlayCrabCubs(cups, 10).CupString;

            // answer.Should().Be("583741926");

            // Order slightly off, but final puzzle is re-centered so it doesn't matter
            answer.Should().Be("837419265");
        }