free_mutant/meta/and.rb

16 lines
320 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
2018-09-12 09:15:43 -04:00
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