public void TestsFindMatchedAllSiblings() { List <int[]> fillCellCoordinates = new List <int[]>() { new [] { 0, 1 }, new [] { 1, 0 }, new [] { 1, 1 }, new [] { 2, 1 }, new [] { 2, 2 }, new [] { 0, 2 }, new [] { 2, 0 }, new [] { 3, 0 }, }; _map.SetCell(fillCellCoordinates, HexagonMap.CellType.Gem, 0); var matchedCells = _map.FindMatchedAllSiblings(0, 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); } }