-
Notifications
You must be signed in to change notification settings - Fork 546
/
Copy pathtbl-table.feature
60 lines (40 loc) · 1.53 KB
/
tbl-table.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Feature: Table properties and methods
In order to discover and adjust the formatting of a table
As a developer using python-pptx
I need properties and methods on Table
Scenario: Table.cell()
Given a 2x2 Table object as table
Then table.cell(0, 0) is a _Cell object
Scenario: Table.columns
Given a Table object as table
Then table.columns is a _ColumnCollection object
Scenario: Table.first_col setter
Given a 2x2 Table object as table
When I assign table.first_col = True
Then table.first_col is True
Scenario: Table.first_row setter
Given a 2x2 Table object as table
When I assign table.first_row = True
Then table.first_row is True
Scenario: Table.horz_banding setter
Given a 2x2 Table object as table
When I assign table.horz_banding = True
Then table.horz_banding is True
Scenario: Table.iter_cells()
Given a 3x3 Table object as table
Then len(list(table.iter_cells())) == 9
Scenario: Table.last_col setter
Given a 2x2 Table object as table
When I assign table.last_col = True
Then table.last_col is True
Scenario: Table.last_row setter
Given a 2x2 Table object as table
When I assign table.last_row = True
Then table.last_row is True
Scenario: Table.rows
Given a Table object as table
Then table.rows is a _RowCollection object
Scenario: Table.vert_banding setter
Given a 2x2 Table object as table
When I assign table.vert_banding = True
Then table.vert_banding is True