2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :irange do
|
2014-06-02 08:57:14 -04:00
|
|
|
source '1..100'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
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'
|
2014-06-05 12:37:31 -04:00
|
|
|
mutation 'self..100'
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation '1..nil'
|
2014-06-05 12:37:31 -04:00
|
|
|
mutation '1..self'
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation '1..0'
|
|
|
|
mutation '1..1'
|
|
|
|
mutation '1..99'
|
|
|
|
mutation '1..101'
|
|
|
|
mutation '1..-100'
|
|
|
|
end
|
|
|
|
|
2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :erange do
|
2014-06-02 08:57:14 -04:00
|
|
|
source '1...100'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
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'
|
2014-06-05 12:37:31 -04:00
|
|
|
mutation 'self...100'
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation '1...nil'
|
2014-06-05 12:37:31 -04:00
|
|
|
mutation '1...self'
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation '1...0'
|
|
|
|
mutation '1...1'
|
|
|
|
mutation '1...99'
|
|
|
|
mutation '1...101'
|
|
|
|
mutation '1...-100'
|
|
|
|
end
|