lib/mutant/mutator/node/literal/float.rb in mutant-0.8.8 vs lib/mutant/mutator/node/literal/float.rb in mutant-0.8.9

- old
+ new

@@ -10,12 +10,10 @@ private # Emit mutants # # @return [undefined] - # - # @api private def dispatch emit_singletons emit_values(values) emit_special_cases end @@ -27,20 +25,16 @@ ].freeze # Emit special cases # # @return [undefined] - # - # @api private def emit_special_cases SPECIAL.each(&method(:emit)) end # Values to mutate to # # @return [Array] - # - # @api private def values original = children.first # Work around a bug in RBX/MRI or JRUBY: [0.0, 1.0, -original].delete_if do |value| value.eql?(original)