Beispiel #1
0
        public void ExampleA1()
        {
            var keypad = new Day02.KeyPad('5');
            var moves  = new List <string>
            {
                "ULL",
                "RRDDD",
                "LURDL",
                "UUUUD"
            };

            moves.ForEach(move => keypad.Move(move));
            Assert.AreEqual("1985", keypad.KeysPressed);
        }