| Executed features | Passed | Failures | Errors | Skipped | Success rate | Time |
|---|---|---|---|---|---|---|
| 1 | 1 | 0 | 0 | 0 | 100.0% | 0.011 seconds |
|
should print hex view of data
Return
|
||||||||||||||||
|
Given:
|
def printer = new HexPrinter() |
|||||||||||||||
|
Expect:
|
printer.apply(data) == hexView |
|||||||||||||||
|
And:
|
data = text as byte[] |
|||||||||||||||
|
And:
|
hexView = 'hex view: ' + hex.toUpperCase() |
|||||||||||||||
|
Examples:
|
|
2/2 passed
|
||||||||||||||