Sha256: 1bb58bd029f912a831b1af1d66b0df78d67d7147d33d1c25a447ec770ac7a75d
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Function::Connective::Disjunction::ContradictionRightOperand, '#optimize' do subject { object.optimize } let(:attribute) { Attribute::Integer.new(:id) } let(:left) { attribute.eq(1) } let(:right) { Function::Proposition::Contradiction.instance } let(:connective) { left.or(right) } let(:object) { described_class.new(connective) } before do object.should be_optimizable end it { should equal(left) } end
Version data entries
4 entries across 4 versions & 1 rubygems