public void TestsFindMatchedSiblings() { List <int[]> fillCellCoordinates = new List <int[]>() { new [] { 0, 1 }, new [] { 1, 0 }, new [] { 1, 1 }, new [] { 2, 1 }, new [] { 2, 2 }, new [] { 0, 2 }, }; _map.SetCell(fillCellCoordinates, HexagonMap.CellType.Gem, 0); var matchedCells = _map.FindMatchedSiblings(1, 1); Assert.AreEqual(fillCellCoordinates.Count, matchedCells.Length); foreach (var cellCoordinate in fillCellCoordinates) { Assert.Contains(_map.InstantiateCell(cellCoordinate[0], cellCoordinate[1], HexagonMap.CellType.Gem, 0), matchedCells); } }