Sha256: 55f6ce1beb68565777b152010d4696242372d1aefa46b32fa1ff2cb23de51449

Contents?: true

Size: 499 Bytes

Versions: 4

Compression:

Stored size: 499 Bytes

Contents

require 'spec_helper'
module Alf
  module Algebra
    describe NotMatching, 'heading' do

      let(:left){
        an_operand.with_heading(:id => Fixnum, :name => String)
      }
      let(:right){
        an_operand.with_heading(:id => Integer, :foo => String)
      }

      let(:op){ 
        a_lispy.not_matching(left, right)
      }
      subject{ op.heading }

      let(:expected){
        Heading[:id => Fixnum, :name => String]
      }

      it { should eq(expected) }

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-algebra/operator/not_matching/test_heading.rb
alf-core-0.14.0 spec/unit/alf-algebra/operator/not_matching/test_heading.rb
alf-core-0.13.1 spec/unit/alf-algebra/operator/not_matching/test_heading.rb
alf-core-0.13.0 spec/unit/alf-algebra/operator/not_matching/test_heading.rb