Sha256: 02b6e4e3f94672d05552316d9731963abd0058201c13e96373ba8c635a21b9aa
Contents?: true
Size: 731 Bytes
Versions: 1
Compression:
Stored size: 731 Bytes
Contents
require 'spec_helper' describe 'Veritas::Logic::Connective::Disjunction.call' do subject { object.call(left, right) } let(:object) { Logic::Connective::Disjunction } context 'when left is true and right is true' do let(:left) { true } let(:right) { true } it { should be(true) } end context 'when left is true and right is false' do let(:left) { true } let(:right) { false } it { should be(true) } end context 'when left is false and right is true' do let(:left) { false } let(:right) { true } it { should be(true) } end context 'when left is false and right is false' do let(:left) { false } let(:right) { false } it { should be(false) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/logic/connective/disjunction/class_methods/call_spec.rb |