Sha256: 74a4e5bc8d52b240d54a7335ee2a56b8f30344d39e690d2fd3fa5c4214e4aeb6
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
require 'spec_helper' describe 'Veritas::Logic::Connective::Negation.call' do subject { object.call(operand) } let(:object) { Logic::Connective::Negation } context 'when operand is true' do let(:operand) { true } it { should be(false) } end context 'when operand is false' do let(:operand) { false } it { should be(true) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/logic/connective/negation/class_methods/call_spec.rb |
veritas-0.0.1 | spec/unit/veritas/logic/connective/negation/class_methods/call_spec.rb |