free_mutant/meta/or.rb
2015-08-20 14:03:15 -07:00

14 lines
310 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'
mutation 'false unless true'
end