public string PartA()
        {
            CupGame game = new CupGame(Input);

            game.Play(100);
            string cupOrder = game.ListCupOrder();

            return(cupOrder);
        }
Example #2
0
        public void CupGame_Play(int moves, string expected)
        {
            var input = "389125467";
            var sut   = new CupGame(input);

            sut.Play(moves);
            var result = sut.ListCupOrder();

            Assert.Equal(expected, result);
        }