Executed features | Passed | Failures | Errors | Skipped | Success rate | Time |
---|---|---|---|---|---|---|
1 | 1 | 0 | 0 | 0 | 100.0% | 0.012 seconds |
Hamming error-correction encoder
should encode data by Hamming algorithm
Return
|
|||||||||||||
Given:
|
def data = text.bytes |
||||||||||||
Expect:
|
coder.apply(data) == expected |
||||||||||||
And:
|
expected = output as byte[] |
||||||||||||
Examples:
|
|
2/2 passed
|