4a9ab9340e
The mutation examples are now introspectable, this allows to render nice index or performing better automated analysis against the corpus.
23 lines
420 B
Ruby
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
|