[SetUp] //Creates the room to be used in tests public void Setup() { RoomToTest = new Room(Name, Description, ItemInRoom, PersonInRoom, HasItem); RoomToTest.AdjacentRooms = new List <Room> { AdjacentRoomToTest }; }
[SetUp] //Creates the room to be used in tests public void Setup() { HasEventHappened = new Dictionary <string, bool>(); HasEventHappened.Add("shoe", false); ItemInRoom = new Dictionary <string, bool>(); ItemInRoom.Add("chicken nuggets", false); PersonsInRoom = new Dictionary <string, string>(); PersonsInRoom.Add("charley", "I'm here!!!"); RoomToTest = new Room(Name, Description, ItemInRoom, PersonsInRoom, Action, HasItem); }