Skip to content

Test case: you_can_validate_from_a_u32 for luhn-from and luhn-trait is not correct. #263

@harishjp

Description

@harishjp

Here is the result of manual computation. I noticed that it is derived from "046 454 286" But the trouble is the leading 0 is ignored for the integer and hence the luhn value is different.

Test: 46_454_286
Expression: 4 + (6 * 2 - 9) + 4 + (5 * 2 - 9) + 4 + (2 * 2) + 8 + (6 * 2 - 9) = 31

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