2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :float do
|
2014-06-02 08:57:14 -04:00
|
|
|
source '10.0'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :float do
|
2014-06-02 08:57:14 -04:00
|
|
|
source '0.0'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation '1.0'
|
|
|
|
mutation '(0.0 / 0.0)'
|
|
|
|
mutation '(1.0 / 0.0)'
|
|
|
|
mutation '(-1.0 / 0.0)'
|
|
|
|
end
|
|
|
|
|
2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :float do
|
2014-06-02 08:57:14 -04:00
|
|
|
source '-0.0'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation '1.0'
|
|
|
|
mutation '(0.0 / 0.0)'
|
|
|
|
mutation '(1.0 / 0.0)'
|
|
|
|
mutation '(-1.0 / 0.0)'
|
|
|
|
end
|