Sha256: 2a4ee4f42914d0a267f2591891de58032ea6dc4ff9722f68a6f5a57a032a28b9

Contents?: true

Size: 659 Bytes

Versions: 6

Compression:

Stored size: 659 Bytes

Contents

Mutant::Meta::Example.add :while do
  source 'while true; foo; bar; end'

  singleton_mutations
  mutation 'while true; self; bar; end'
  mutation 'while true; foo; self; end'
  mutation 'while true; bar; end'
  mutation 'while true; foo; end'
  mutation 'while true; end'
  mutation 'while false; foo; bar; end'
  mutation 'while nil;   foo; bar; end'
  mutation 'while true;  foo; nil; end'
  mutation 'while true;  nil; bar; end'
  mutation 'while true;  raise; end'
end

Mutant::Meta::Example.add :while do
  source 'while true; end'

  singleton_mutations
  mutation 'while true; raise; end'
  mutation 'while false; end'
  mutation 'while nil; end'
end

Version data entries

6 entries across 6 versions & 1 rubygems

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