Correction mineure pour faire passer les tests
continuous-integration/drone/push Build is passing Details

pull/108/head
Rémi LAVERGNE 1 year ago
parent fc8a7b7994
commit e95e7d290c

@ -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);

Loading…
Cancel
Save