Skip to content

coin-grinder missing test for TOTAL_TRIES #33419

@yancyribbens

Description

@yancyribbens

The following (mutation) code can be remove from coin-grinder here without encountering a test failure

if (curr_try >= TOTAL_TRIES) {
    // Solution is not guaranteed to be optimal if `curr_try` hit TOTAL_TRIES
    result.SetAlgoCompleted(false);
    break;
}

This ought to be a similar test to Test BnB attempt limit (TOTAL_TRIES)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions