The tests currently use Signal:
|
const expected = &[_]secret_handshake.Signal{.wink}; |
But the docs only talk about "actions":
|
Your task is to convert a number between 1 and 31 to a sequence of actions in the secret handshake. |
|
|
|
The sequence of actions is chosen by looking at the rightmost five digits of the number once it's been converted to binary. |
|
Start at the right-most digit and move left. |
|
|
|
The actions for each number place are: |
The tests currently use
Signal:zig/exercises/practice/secret-handshake/test_secret_handshake.zig
Line 7 in 0c4805d
But the docs only talk about "actions":
zig/exercises/practice/secret-handshake/.docs/instructions.md
Lines 3 to 8 in 0c4805d