Exemplo n.º 1
0
        public void ReadPlayerInputTest6()
        {
            string        playerInput = "restart";
            PlayerCommand actual      = CommandReader.ReadPlayerInput(playerInput);

            Assert.AreEqual(PlayerCommand.Restart, actual, "Input and expected commands are not equal!");
        }
Exemplo n.º 2
0
        public void ReadPlayerInputTest2()
        {
            string        playerInput = "something";
            PlayerCommand actual      = CommandReader.ReadPlayerInput(playerInput);

            Assert.AreEqual(PlayerCommand.Other, actual, "Input and expected commands are not equal!");
        }