Skip to content

UPC appears to be calculating incorrectly #33

Description

@opadoca

UPC should have position correction (posCorr) turned off.

Note: the value being tested in gtin_test.go>"UPC" happens to work with position correct on or off, but if we test with a value such as 123456789098, which is a valid UPC-A, we will be able to differentiate the effects of posCorr being on or off.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions