free_mutant/meta/or.rb
Markus Schirp 144397873e Remove invalild mutation on negating booleans
* [fix #287] read the ticket if you want to complain
2015-08-08 20:48:07 +00:00

13 lines
279 B
Ruby

Mutant::Meta::Example.add do
source 'true or false'
singleton_mutations
mutation 'true'
mutation 'false'
mutation 'nil or false'
mutation 'false or false'
mutation 'true or nil'
mutation 'true or true'
mutation 'true and false'
mutation '!true or false'
end