|
|
@ -207,7 +207,7 @@ public class RulesTests
|
|
|
|
public void IsZoneValidAndAddToZones_AddsToExistingZone_WhenAdjacentCellWithSameValueExists()
|
|
|
|
public void IsZoneValidAndAddToZones_AddsToExistingZone_WhenAdjacentCellWithSameValueExists()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Rules rules = new Rules();
|
|
|
|
Rules rules = new Rules();
|
|
|
|
Map map = new Map("background");
|
|
|
|
Map map = new Map("Dunai", "background");
|
|
|
|
Cell cell = new Cell(0, 0);
|
|
|
|
Cell cell = new Cell(0, 0);
|
|
|
|
cell.Value = 1;
|
|
|
|
cell.Value = 1;
|
|
|
|
Cell adjacentCell = new Cell(0, 1);
|
|
|
|
Cell adjacentCell = new Cell(0, 1);
|
|
|
@ -226,7 +226,7 @@ public class RulesTests
|
|
|
|
public void IsZoneValidAndAddToZones_CreatesNewZone_WhenAdjacentCellWithSameValueExistsButNoExistingZone()
|
|
|
|
public void IsZoneValidAndAddToZones_CreatesNewZone_WhenAdjacentCellWithSameValueExistsButNoExistingZone()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Rules rules = new Rules();
|
|
|
|
Rules rules = new Rules();
|
|
|
|
Map map = new Map("background");
|
|
|
|
Map map = new Map("Dunai", "background");
|
|
|
|
Cell cell = new Cell(0, 0);
|
|
|
|
Cell cell = new Cell(0, 0);
|
|
|
|
cell.Value = 1;
|
|
|
|
cell.Value = 1;
|
|
|
|
Cell adjacentCell = new Cell(0, 1);
|
|
|
|
Cell adjacentCell = new Cell(0, 1);
|
|
|
|