Sha256: 7d56315843e55b3cf1242b4b2f8ea831c726abaadde18fcbbca22ca2d3f5ebe7

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

# encoding: utf-8

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

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

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

  mutation 'nil'

  # 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

1 entries across 1 versions & 1 rubygems

Version Path
mutant-0.5.18 meta/array.rb