free_mutant/meta/and.rb

15 lines
319 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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