public void RoomCanBeEndOrBeginning() { var room = new DeadEndRoom(8, 8, 0); room.Beginning = true; Assert.True(room.Beginning); Assert.False(room.End); room.Beginning = false; room.End = true; Assert.True(room.End); Assert.False(room.Beginning); }
public void DeadEndRoomWorks() { var room = new DeadEndRoom(2, 5, 1); Assert.True(room.HasDoorwayTo(1)); }