free_mutant/meta/and.rb
2018-09-12 13:15:43 +00:00

15 lines
320 B
Ruby

# frozen_string_literal: true
Mutant::Meta::Example.add :and do
source 'true and false'
singleton_mutations
mutation 'true'
mutation 'false'
mutation 'true or false'
mutation 'true and nil'
mutation 'nil and false'
mutation 'false and false'
mutation 'true and true'
mutation '!true and false'
end