Skip to content

exercises(secret-handshake): consider changing Signal to Action #351

Open
@ee7

Description

@ee7

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions