4a9ab9340e
The mutation examples are now introspectable, this allows to render nice index or performing better automated analysis against the corpus.
26 lines
402 B
Ruby
26 lines
402 B
Ruby
# encoding: utf-8
|
|
|
|
Mutant::Meta::Example.add do
|
|
source 'super'
|
|
|
|
mutation 'nil'
|
|
end
|
|
|
|
Mutant::Meta::Example.add do
|
|
source 'super()'
|
|
|
|
mutation 'super'
|
|
mutation 'nil'
|
|
end
|
|
|
|
Mutant::Meta::Example.add do
|
|
source 'super(foo, bar)'
|
|
|
|
mutation 'super'
|
|
mutation 'super()'
|
|
mutation 'super(foo)'
|
|
mutation 'super(bar)'
|
|
mutation 'super(foo, nil)'
|
|
mutation 'super(nil, bar)'
|
|
mutation 'nil'
|
|
end
|