We can use
Literal Values to specify a constant value, wherever
Method Execution is used. A literal value is a cell with a type specifier followed by a cell with the constant value.
when input is⇓
story test fixture |
check | plain test | show boolean: yes
show byte: 255
show character: a
show decimal: 1.234567890123456789012345678
show double: 1.23456789012345
show float: 1.234567
show integer: 2147483647
show long: 9223372036854775807
show short: 32767
show string: mystringvalue | show | decimal: | 1.234567890123456789012345678 |
1.234567890123456789012345678 |
show | double: | 1.23456789012345 |
1.23456789012345 |
show | float: | 1.234567 |
1.234567 |
show | integer: | 2147483647 |
2147483647 |
show | long: | 9223372036854775807 |
9223372036854775807 |
show | string: | mystringvalue |
mystringvalue |
|
| show boolean: yes
show byte: 255
show character: a
show decimal: 1.234567890123456789012345678
show double: 1.23456789012345
show float: 1.234567
show integer: 2147483647
show long: 9223372036854775807
show short: 32767
show string: mystringvalue | then output is | show | decimal: | 1.234567890123456789012345678 |
1.234567890123456789012345678 |
show | double: | 1.23456789012345 |
1.23456789012345 |
show | float: | 1.234567 |
1.234567 |
show | integer: | 2147483647 |
2147483647 |
show | long: | 9223372036854775807 |
9223372036854775807 |
show | string: | mystringvalue |
mystringvalue |
|