42 lines
783 B
Ruby
42 lines
783 B
Ruby
|
# encoding: utf-8
|
||
|
|
||
|
Mutant::Meta::Example.add do
|
||
|
source '1..100'
|
||
|
|
||
|
mutation 'nil'
|
||
|
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 '1..nil'
|
||
|
mutation '1..0'
|
||
|
mutation '1..1'
|
||
|
mutation '1..99'
|
||
|
mutation '1..101'
|
||
|
mutation '1..-100'
|
||
|
end
|
||
|
|
||
|
Mutant::Meta::Example.add do
|
||
|
source '1...100'
|
||
|
|
||
|
mutation 'nil'
|
||
|
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 '1...nil'
|
||
|
mutation '1...0'
|
||
|
mutation '1...1'
|
||
|
mutation '1...99'
|
||
|
mutation '1...101'
|
||
|
mutation '1...-100'
|
||
|
end
|