Sha256: 037cc7981c6392a10eb35303716071e5711070e1992c374f41c7ba1fae0c4324

Contents?: true

Size: 681 Bytes

Versions: 23

Compression:

Stored size: 681 Bytes

Contents

# encoding: utf-8

Mutant::Meta::Example.add do
  source '{true => true, false => false}'

  singleton_mutations

  # Mutation of each key and value in hash
  mutation '{ false => true  ,  false => false }'
  mutation '{ nil   => true  ,  false => false }'
  mutation '{ true  => false ,  false => false }'
  mutation '{ true  => nil   ,  false => false }'
  mutation '{ true  => true  ,  true  => false }'
  mutation '{ true  => true  ,  nil   => false }'
  mutation '{ true  => true  ,  false => true  }'
  mutation '{ true  => true  ,  false => nil   }'

  # Remove each key once
  mutation '{ true => true }'
  mutation '{ false => false }'

  # Empty hash
  mutation '{}'
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
mutant-0.7.8 meta/hash.rb
mutant-0.7.7 meta/hash.rb
mutant-0.7.6 meta/hash.rb
mutant-0.7.5 meta/hash.rb
mutant-0.7.4 meta/hash.rb
mutant-0.7.3 meta/hash.rb
mutant-0.7.2 meta/hash.rb
mutant-0.7.1 meta/hash.rb
mutant-0.6.7 meta/hash.rb
mutant-0.6.6 meta/hash.rb
mutant-0.6.5 meta/hash.rb
mutant-0.6.4 meta/hash.rb
mutant-0.6.3 meta/hash.rb
mutant-0.6.2 meta/hash.rb
mutant-0.6.0 meta/hash.rb
mutant-0.5.26 meta/hash.rb
mutant-0.5.25 meta/hash.rb
mutant-0.5.24 meta/hash.rb
mutant-0.5.23 meta/hash.rb
mutant-0.5.22 meta/hash.rb