public void BeEqualToSameCell() { var first = new EmptyCell(position); var second = new EmptyCell(position); var third = new EmptyCell(position + CellPosition.DeltaDown); first.Equals(second).Should().BeTrue(); first.Equals(third).Should().BeFalse(); }
public void BeNotEqualToOtherCell() { var first = new EmptyCell(position); var second = new EmptyCell(position + CellPosition.DeltaDown); first.Equals(second).Should().BeFalse(); }