free_mutant/meta/and.rb

16 lines
320 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-09-12 13:15:43 +00:00
Mutant::Meta::Example.add :and do
2014-06-02 14:22:57 +00:00
source 'true and false'
singleton_mutations
2014-06-02 14:22:57 +00: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 14:22:57 +00:00
mutation '!true and false'
end