Sha256: fcc912df1a05b458fa889b32acca7994f481ba0e76893c54f9c6fbb018aab037

Contents?: true

Size: 532 Bytes

Versions: 17

Compression:

Stored size: 532 Bytes

Contents

# frozen_string_literal: true

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

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

Mutant::Meta::Example.add :array 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

17 entries across 17 versions & 1 rubygems

Version Path
mutant-0.9.8 meta/array.rb
mutant-0.9.7 meta/array.rb
mutant-0.9.6 meta/array.rb
mutant-0.9.5 meta/array.rb
mutant-0.9.4 meta/array.rb
mutant-0.9.3 meta/array.rb
mutant-0.9.2 meta/array.rb
mutant-0.9.1 meta/array.rb
mutant-0.9.0 meta/array.rb
mutant-0.8.24 meta/array.rb
mutant-0.8.23 meta/array.rb
mutant-0.8.22 meta/array.rb
mutant-0.8.21 meta/array.rb
mutant-0.8.20 meta/array.rb
mutant-0.8.19 meta/array.rb
mutant-0.8.18 meta/array.rb
mutant-0.8.17 meta/array.rb