public void CheckRoomVisitedReturnsFalseForEmptyStringRoomName()
        {
            var game     = new Game();
            var testRoom = new Room("TestRoom", "This is a test room.", game);

            var visitedRooms = new VisitedRooms();

            visitedRooms.AddVisitedRoom(testRoom);

            Assert.AreEqual(1, visitedRooms.GetVisitedRooms().Count);
            Assert.IsFalse(visitedRooms.CheckRoomVisited(string.Empty));
        }
        public void CheckRoomVisitedReturnsFalseForRoomThatDoesntExist()
        {
            var game     = new Game();
            var testRoom = new Room("TestRoom", "This is a test room.", game);

            var visitedRooms = new VisitedRooms();

            visitedRooms.AddVisitedRoom(testRoom);

            Assert.AreEqual(1, visitedRooms.GetVisitedRooms().Count);

            Assert.IsFalse(visitedRooms.CheckRoomVisited("Does not exist"));
        }
        public void CheckRoomVisitedReturnsTrueForRoomInVisitedList()
        {
            var game     = new Game();
            var testRoom = new Room("TestRoom", "This is a test room.", game);

            var visitedRooms = new VisitedRooms();

            visitedRooms.AddVisitedRoom(testRoom);

            Assert.AreEqual(1, visitedRooms.GetVisitedRooms().Count);

            Assert.IsTrue(visitedRooms.CheckRoomVisited("TestRoom"));
        }