Closed ohbarye closed 6 months ago
This adds the following 2 arbitraries.
ChooseArbitrary
Range
OneOfArbitrary
Array<any>
They are reusable to add other arbitraries like CharArbitrary since we can think that character is one of codepoint.
CharArbitrary
Change
This adds the following 2 arbitraries.
ChooseArbitrary
: It receives aRange
then generates any value in the range.OneOfArbitrary
: It receives aArray<any>
then generates any value in the array.They are reusable to add other arbitraries like
CharArbitrary
since we can think that character is one of codepoint.