Sha256: 82e3ce17b305b3ae2bbb24d378ec3b806374842de6c73063d2dc7a94a0c650cc

Contents?: true

Size: 614 Bytes

Versions: 20

Compression:

Stored size: 614 Bytes

Contents

# frozen_string_literal: true

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

20 entries across 20 versions & 1 rubygems

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