I'm generating with tiny types, getting `the targe...
# kotest
r
I'm generating with tiny types, getting
the target size requirement of 63 could not be satisfied after 630 consecutive samples
This is the type I'm generating, both fields are enum classes:
Copy code
data class PollingSettings(val polling: EnumSet<AutomaticPPICPolling>, val interval: PICCPollInterval)
Reducing the number of iterations didn't help
s
How are you generating
r
Copy code
forAll<PollingSettings> { setting ->
            PollingSettings.bitMaskToEnum(setting.toBitMask()) == setting
        }
s
How many values in the EnumSet ?
r
The enum has about 4 values
s
Can you make a standalone example that fails so we can write a test and fix it.
r
r
Works.