Closed ohbarye closed 7 months ago
This adds an array generator that takes one generator of any element.
Pbt.forall(Pbt::Generator.array(Pbt::Generator.integer, min: 0, max: 10, empty: true)) do |numbers| raise if numbers.size > 2 end
Changes
This adds an array generator that takes one generator of any element.