public void CellIndexSubtractionTest2() { var a = new CellPosition(344, 856); var b = new CellPosition(123, 345); var c = a.Subtract(b); c.Width.Should().Be(511); c.Height.Should().Be(221); }
public void CellIndexSubtractionTest1() { var a = new CellPosition(1, 1); var b = new CellPosition("A1"); var c = a.Subtract(b); c.Width.Should().Be(0); c.Height.Should().Be(0); }