Sha256: 42d187b5dab20873513a2f45c23b68a1d9b076a23091b4c03a9ebadf5c163326

Contents?: true

Size: 583 Bytes

Versions: 6

Compression:

Stored size: 583 Bytes

Contents

Mutant::Meta::Example.add :float do
  source '10.0'

  singleton_mutations

  # edge cases
  mutation '0.0'
  mutation '1.0'
  mutation '(0.0 / 0.0)'
  mutation '(1.0 / 0.0)'
  mutation '(-1.0 / 0.0)'

  # negative
  mutation '-10.0'
end

Mutant::Meta::Example.add :float do
  source '0.0'

  singleton_mutations
  mutation '1.0'
  mutation '(0.0 / 0.0)'
  mutation '(1.0 / 0.0)'
  mutation '(-1.0 / 0.0)'
end

Mutant::Meta::Example.add :float do
  source '-0.0'

  singleton_mutations
  mutation '1.0'
  mutation '(0.0 / 0.0)'
  mutation '(1.0 / 0.0)'
  mutation '(-1.0 / 0.0)'
end

Version data entries

6 entries across 6 versions & 1 rubygems

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