Sha256: 90632640ae226e79b81c6729789d99b159e647f7a8063fc0bd1eaf2aab8b73cd
Contents?: true
Size: 790 Bytes
Versions: 24
Compression:
Stored size: 790 Bytes
Contents
# encoding: utf-8 module Mutant class Mutation # Neutral mutation class Neutral < self SYMBOL = 'neutral' # Noop mutation, special case of neutral class Noop < self SYMBOL = 'noop' end # Return identification # # @return [String] # # @api private # def identification "#{self.class::SYMBOL}:#{super}" end memoize :identification # Test if killer is successful # # @param [Killer] killer # # @return [true] # if killer did NOT killed mutation # # @return [false] # otherwise # # @api private # def success?(killer) !killer.killed? end end # Neutral end # Mutation end # Mutant
Version data entries
24 entries across 24 versions & 1 rubygems