public void drawWithTwoExclusionsSkippedOnMinValue() { CellInRangePicker picker = new CellInRangePicker(new MockPickerStrategy(1)); Cell result = picker.drawBetweenWithExclusion(new Cell(0, 0), new Cell(0, 5), new Cell(0, 0), new Cell(0, 1)); Assert.AreEqual(new Cell(0, 2), result); }
public void drawInRangeOnConsecutiveCellsBothExcluded() { CellInRangePicker picker = new CellInRangePicker(new MockPickerStrategy(1)); Cell result = picker.drawBetweenWithExclusion(new Cell(0, 0), new Cell(0, 1), new Cell(0, 0), new Cell(0, 1)); Assert.AreEqual(new Cell(0, 0), result); }