Sha256: 18cd3b6d7d885e2a248020faa0030bf18aebdc9e739fc196536d22dd8fc3c9a1

Contents?: true

Size: 487 Bytes

Versions: 12

Compression:

Stored size: 487 Bytes

Contents

Mutant::Meta::Example.add do
  source '[true]'

  singleton_mutations
  mutation 'true'
  mutation '[false]'
  mutation '[nil]'
  mutation '[]'
end

Mutant::Meta::Example.add do
  source '[true, false]'

  singleton_mutations

  # Mutation of each element in array
  mutation '[nil, false]'
  mutation '[false, false]'
  mutation '[true, nil]'
  mutation '[true, true]'

  # Remove each element of array once
  mutation '[true]'
  mutation '[false]'

  # Empty array
  mutation '[]'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mutant-0.8.10 meta/array.rb
mutant-0.8.9 meta/array.rb
mutant-0.8.8 meta/array.rb
mutant-0.8.7 meta/array.rb
mutant-0.8.6 meta/array.rb
mutant-0.8.5 meta/array.rb
mutant-0.8.4 meta/array.rb
mutant-0.8.3 meta/array.rb
mutant-0.8.2 meta/array.rb
mutant-0.8.1 meta/array.rb
mutant-0.8.0 meta/array.rb
mutant-0.7.9 meta/array.rb