Sha256: cbe72b9a951911b52a44cbfaf5674e2c0fb24fda6edf6cb77e0d2cfdf697e22a
Contents?: true
Size: 721 Bytes
Versions: 7
Compression:
Stored size: 721 Bytes
Contents
module Mutest class Mutator class Node class Literal < self # Mutator for fixnum literals class Fixnum < self handle(:int) private # Emit mutations # # @return [undefined] def dispatch emit_singletons emit_values end # Values to mutate to # # @return [Array] def values [0, 1, -value, value + 1, value - 1] end # Literal original value # # @return [Object] def value children.first end end # Fixnum end # Literal end # Node end # Mutator end # Mutest
Version data entries
7 entries across 7 versions & 1 rubygems