Actions |
||
start |
peak.ddt.demos.ArithmeticModel |
|
press |
clear |
|
check |
x |
0 |
check |
y |
0 |
enter |
x |
2 |
enter |
y |
3 |
check |
plus |
5 |
check |
times |
6 |
press |
clear |
|
check |
y |
0 |
check |
x |
0 |
check |
times |
0 |
eg.ArithmeticColumnFixture | |||||
x | y | plus() |
minus() |
times() | divide() |
0 | 0 | 0 | 0 | 0 | error |
1 | 2 | 3 | -1 | 2 | 0.5 |
1 | -1 | 0 | 2 | -1 | -1 |
123 | 456 | 579 | -333 |
56088 | 0.27 |
and a function checker:
Function peak.core.Items |
|||
a |
b |
c |
output |
1 |
2 |
3 |
[('a',1),('c',3),('b',2)] |
99 |
'bottles' |
"of beer" |
[('a', 99), ('c', 'of beer'), ('b', 'bottles')] |
Summary |