Sha256: 96bc8ccdec034184c9df38ab0ecee208ddec4e7941178e11194c8a032a66613e
Contents?: true
Size: 492 Bytes
Versions: 4
Compression:
Stored size: 492 Bytes
Contents
require 'spec_helper' module Alf module Algebra describe Matching, '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.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