Class: DFuzz::Integer

Inherits:
Fudge show all
Defined in:
lib/dfuzz/integer.rb

Direct Known Subclasses

Byte, Long, LongLong, Short

Instance Method Summary collapse

Methods inherited from Generator

#current, #each, #empty?, #end?, #index, #next, #next?, #pos, #rewind, #shift, #yield

Constructor Details

#initialize(delta = 0x80) ⇒ Integer

Returns a new instance of Integer.



3
4
5
6
# File 'lib/dfuzz/integer.rb', line 3

def initialize(delta = 0x80)
    super([0, 0x7FFF, 0xFFFF, 0x7FFFFFFF,
           0x7FFFFFFFFFFFFFFF], delta)
end