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

15 lines
314 B
Ruby

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