public void CellIsMergedCell_ReturnsTrue_WhenCellMergedWithOtherHorizontally() { // Arrange SCTableRow scTableRow = ((ITable)_fixture.Pre001.Slides[1].Shapes.First(sp => sp.Id == 4)).Rows[1]; ITableCell cell1x0 = scTableRow.Cells[0]; ITableCell cell1x1 = scTableRow.Cells[1]; // Act-Assert cell1x0.IsMergedCell.Should().BeTrue(); cell1x1.IsMergedCell.Should().BeTrue(); cell1x0.Should().BeSameAs(cell1x1); }
public void CellIsMergedCell_ReturnsTrue_WhenCellMergedWithOtherVertically(ITableCell cell1, ITableCell cell2) { cell1.IsMergedCell.Should().BeTrue(); cell2.IsMergedCell.Should().BeTrue(); cell1.Should().Be(cell2); }