Sha256: 19632e5a7caf3dd16f93ce50c8a48d4853f58b75015388b0eda26d3e151a07a4
Contents?: true
Size: 439 Bytes
Versions: 2
Compression:
Stored size: 439 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Product do context 'Commutative property' do subject { left.product(right) } let(:left) { Relation.new([[:id, Integer]], [[1], [2]]) } let(:right) { Relation.new([[:name, String]], [['Dan Kubb'], ['Alex Kubb']]) } it 'does not matter which order the relations are multiplied in' do should == right.product(left) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/integration/axiom/algebra/product_spec.rb |
axiom-0.1.1 | spec/integration/axiom/algebra/product_spec.rb |