forked from scanny/python-pptx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcht-point-access.feature
More file actions
37 lines (28 loc) · 945 Bytes
/
cht-point-access.feature
File metadata and controls
37 lines (28 loc) · 945 Bytes
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
Feature: Access a point
In order to operate on an individual data point
As a developer using python-pptx
I need sequence operations on xPoints objects
Scenario Outline: Points.__len__()
Given a <type> object containing 3 points
Then len(points) is 3
Examples: point container types
| type |
| XyPoints |
| BubblePoints |
| CategoryPoints |
Scenario Outline: Points.__getitem__()
Given a <type> object containing 3 points
Then points[2] is a Point object
Examples: point container types
| type |
| XyPoints |
| BubblePoints |
| CategoryPoints |
Scenario Outline: Points.__iter__()
Given a <type> object containing 3 points
Then iterating points produces 3 Point objects
Examples: point container types
| type |
| XyPoints |
| BubblePoints |
| CategoryPoints |