コード例 #1
0
ファイル: TableTests.cs プロジェクト: kksword/ShapeCrawler
        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);
        }