private void AssertWallEquals(string wallType, XY location) { var expected = WallFactory.Create("Wall-" + wallType); var actual = _layer[location].LowerObject; Assert.AreEqual(expected, actual, $"At [{location}] expected {expected.ToString()} but was {actual.ToString()}."); }
private void PutWallSpace(FacilityLayer layer, XY location) { var wallType = GetWallType(GetNearbyFloorLocations(layer, location)); layer[location].LowerObject = WallFactory.Create("Wall-" + wallType); }