Skip to content

Add property based tests for i2osp and os2ip

Ulrik Strid requested to merge ulrikstrid@pbt-i2osp-os2ip into marigold@bls

Adds property based testing, the test is based on the following:

input

  • number
  • length
    • 256^length > number
    • length > 0

Bytes.length @@ i2osp number length = length

os2ip @@ i2osp number length = number

Merge request reports