Method: PropCheck::Generators.negative_integer
- Defined in:
- lib/prop_check/generators.rb
.negative_integer ⇒ Object
Only returns integers that are smaller than zero. See integer for more information.
122 123 124 |
# File 'lib/prop_check/generators.rb', line 122 def negative_integer positive_integer.map(&:-@) end |