Report for lv.id.jc.correcter.printer.HexPrinterSpec


Summary:

Created on Thu Jan 20 19:43:22 EET 2022 by jegors
Executed features Passed Failures Errors Skipped Success rate Time
1 1 0 0 0 100.0% 0.011 seconds
Issues:

Features:

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:
text hex data hexView
Test 54 65 73 74 [84, 101, 115, 116] hex view: 54 65 73 74 OK
Eat more of these french buns! 45 61 74 20 6d 6f 72 65 20 6f 66 20 74 68 65 73 65 20 66 72 65 6e 63 68 20 62 75 6e 73 21 [69, 97, 116, 32, 109, 111, 114, 101, 32, 111, 102, 32, 116, 104, 101, 115, 101, 32, 102, 114, 101, 110, 99, 104, 32, 98, 117, 110, 115, 33] hex view: 45 61 74 20 6D 6F 72 65 20 6F 66 20 74 68 65 73 65 20 66 72 65 6E 63 68 20 62 75 6E 73 21 OK
2/2 passed