Skip to content

Conversation

nc6
Copy link
Collaborator

@nc6 nc6 commented Jun 24, 2024

A collection of fixes largely targeting CBOR generation

nc6 added 11 commits June 5, 2024 17:24
This is needed since it appears that, in hspec, we
can only get access to a specific QCGen. However,
this also implements `StdGen`, so can be used
here.
Also ensure that generated text is of a good size.
These do have an impact on the generated CBOR.
This commit adds a depth parameter to the CBOR
generator, and attempts (somewhat) to prevent
non-terminating generation. As the depth
increases, we generate smaller lists and try to
avoid generating optional elements.
This commit adds a function `generateCBORTerm'`, which will generate a
CBOR term and return the evolved seed.
@nc6 nc6 merged commit be1e3d0 into master Jun 24, 2024
@nc6 nc6 deleted the nc/hex-str branch June 24, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant