예제 #1
0
        public void RowsAndRowCellsCounters_ReturnNumberOfRowsInTheTableAndNumberOfCellsInTheTableRow()
        {
            // Arrange
            ITable table = (ITable)_fixture.Pre009.Slides[2].Shapes.First(sp => sp.Id == 3);

            // Act
            RowCollection            tableRows = table.Rows;
            IEnumerable <ITableCell> rowCells  = tableRows.First().Cells;

            // Assert
            tableRows.Should().HaveCount(3);
            rowCells.Should().HaveCount(3);
        }