Sha256: b37ab013512f2f71b5531d2f8a4f34e989d138b92a17168dd4928cb6cd600b6b

Contents?: true

Size: 705 Bytes

Versions: 6

Compression:

Stored size: 705 Bytes

Contents

Mutant::Meta::Example.add :irange do
  source '1..100'

  singleton_mutations
  mutation '1...100'
  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 :erange do
  source '1...100'

  singleton_mutations
  mutation '1..100'
  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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.8.16 meta/range.rb
mutant-0.8.15 meta/range.rb
mutant-0.8.14 meta/range.rb
mutant-0.8.13 meta/range.rb
mutant-0.8.12 meta/range.rb
mutant-0.8.11 meta/range.rb