free_mutant/meta/range.rb
Markus Schirp 017ccc1044 Add expression => self mutation
Also reorganizes parts of meta to align filenames to node name better.

Closes #191
2014-06-05 17:48:39 +00:00

45 lines
883 B
Ruby

# encoding: utf-8
Mutant::Meta::Example.add do
source '1..100'
singleton_mutations
mutation '1...100'
mutation '(0.0 / 0.0)..100'
mutation '1..(1.0 / 0.0)'
mutation '1..(0.0 / 0.0)'
mutation '-1..100'
mutation '0..100'
mutation '2..100'
mutation 'nil..100'
mutation 'self..100'
mutation '1..nil'
mutation '1..self'
mutation '1..0'
mutation '1..1'
mutation '1..99'
mutation '1..101'
mutation '1..-100'
end
Mutant::Meta::Example.add do
source '1...100'
singleton_mutations
mutation '1..100'
mutation '(0.0 / 0.0)...100'
mutation '1...(1.0 / 0.0)'
mutation '1...(0.0 / 0.0)'
mutation '-1...100'
mutation '0...100'
mutation '2...100'
mutation 'nil...100'
mutation 'self...100'
mutation '1...nil'
mutation '1...self'
mutation '1...0'
mutation '1...1'
mutation '1...99'
mutation '1...101'
mutation '1...-100'
end