free_mutant/meta/binary.rb
Markus Schirp 4a9ab9340e Define expected mutations with less redundancy
The mutation examples are now introspectable, this allows to render nice
index or performing better automated analysis against the corpus.
2014-06-02 14:05:11 +00:00

23 lines
420 B
Ruby

# encoding: utf-8
Mutant::Meta::Example.add do
source 'true and false'
mutation 'nil'
mutation 'true'
mutation 'false'
mutation 'true or false'
mutation '!true and false'
mutation '!(true and false)'
end
Mutant::Meta::Example.add do
source 'true or false'
mutation 'nil'
mutation 'true'
mutation 'false'
mutation 'true and false'
mutation '!true or false'
mutation '!(true or false)'
end