Closed Rasphino closed 1 year ago
Thanks for the kind words!
The code you've posted should work, and it does work in the playground: Custom version and Make version. Maybe you are running a slightly different code?
hmm, yes it works on my x86-64 linux environment, but doesn't work in arm64 darwin... Let me try to find another example. Thanks!
That is really strange considering that rapid has no platform-dependent code at all. Is there a chance that rapid tries to re-run one of the previously saved failfiles in testdata/rapid
and that produces the error?
Yes, it is the previous failfiles that make this error 👍 Thanks for your help!
Hi @flyingmutant, thanks for your excellent PBT library!
I am trying to write some demo with
rapid
to show the power of PBT to my colleagues, but I encountered an error:[rapid] panic after 0 tests: group did not use any data from bitstream; this is likely a result of Custom generator not calling any of the built-in generators
Here is a minimal case:
Both
rapid.Custom
andrapid.Make
will return this error.My environment: go 1.19.6 rapid v1.0 arm64 macOS