public void GetFreeCellTest() { // ARRANGE var rooms = new RoomMatrix(10); rooms.SetRoom(3, 3, new Room()); var testedCoords = new OffsetCoords(3, 3); // ACT var factCoords = GenerationHelper.GetFreeCell(rooms, testedCoords); // ASSERT factCoords.Should().NotBeNull(); var isEquals = factCoords.X == testedCoords.X && factCoords.Y == testedCoords.Y; isEquals.Should().BeFalse(); }