Sha256: 7141d1c16f8e4dd54701c7edd49d5b545cfb8d2284810ffe6b22453c838d9095

Contents?: true

Size: 469 Bytes

Versions: 17

Compression:

Stored size: 469 Bytes

Contents

# frozen_string_literal: true

Mutant::Meta::Example.add :begin do

  source 'true; false'
  # Mutation of each statement in block
  mutation 'true; true'
  mutation 'false; false'
  mutation 'nil; false'
  mutation 'true; nil'

  # Delete each statement
  mutation 'true'
  mutation 'false'
end

Mutant::Meta::Example.add :begin do

  source s(:begin, s(:true))
  # Mutation of each statement in block
  mutation s(:begin, s(:nil))
  mutation s(:begin, s(:false))
end

Version data entries

17 entries across 17 versions & 1 rubygems

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