public void AddAndGetTile(int tileX, int tileY, int superGridX, int superGridY, bool tileInRegion) { var world = new World(_tileTypes, new DateTime()); world.AddTile("redHouse", new Int2(tileX, tileY), 0); var result = world.GetRegion(new Int2(superGridX, superGridY)); var expected = tileInRegion ? new[] { world.CreateFromName("redHouse", new Int2(tileX, tileY), 0) } : new Tile[0]; Assert.AreEqual(expected, result); }