free_mutant/lib/mutant/mutation/neutral.rb

20 lines
333 B
Ruby

# encoding: utf-8
module Mutant
class Mutation
# Neutral mutation
class Neutral < self
SYMBOL = 'neutral'.freeze
SHOULD_FAIL = false
# Noop mutation, special case of neutral
class Noop < self
SYMBOL = 'noop'.freeze
end # Noop
end # Neutral
end # Mutation
end # Mutant