free_mutant/meta/and.rb

14 lines
289 B
Ruby
Raw Normal View History

Mutant::Meta::Example.add :and do
2014-06-02 10:22:57 -04:00
source 'true and false'
singleton_mutations
2014-06-02 10:22:57 -04:00
mutation 'true'
mutation 'false'
mutation 'true or false'
mutation 'true and nil'
mutation 'nil and false'
mutation 'false and false'
mutation 'true and true'
2014-06-02 10:22:57 -04:00
mutation '!true and false'
end