Exemple #1
0
        public void TestRoomMove()
        {
            bool result = false;

            Program.CreateMuseum(RetroGaming);
            string SetCurrentRoom = Program.RoomChoice(Program.RoomAccessMenu(RetroGaming.GetCurrentRoom()), "0");

            if (SetCurrentRoom != null)
            {
                RetroGaming.SetCurrentRoom(SetCurrentRoom);
            }
            if (RetroGaming.ShowCurrentRoom().Equals("Hallway"))
            {
                result = true;
            }
            Assert.True(result, "Room is not Hallway");
        }