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