Sha256: 57947927ccefd9046da7a18ffe999f48df2a7505f666ddec7e888b119cd2045a
Contents?: true
Size: 594 Bytes
Versions: 2
Compression:
Stored size: 594 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Function::Connective::Disjunction::ContradictionRight, '#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 expect(object).to be_optimizable end it { should be(left) } end
Version data entries
2 entries across 2 versions & 1 rubygems