Skip to content

Grains exercise may need more tests #385

@Trevoke

Description

@Trevoke

There's not much reason to write logic for the total method since it's never going to change: it's always the sum of all 64 squares. Why not add an argument for how many squares to count up to, and some tests to reflect that?

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