Sha256: e7bdc02b68b9fbcb6051debcb57132490d55ba4f7663878747cf98d70de09e89

Contents?: true

Size: 343 Bytes

Versions: 4

Compression:

Stored size: 343 Bytes

Contents

require 'spec_helper'
module Alf
  module Algebra
    describe Operator do
    
      specify "each" do
        ops = []
        Operator.each{|m| ops << m}
        nonrel = []
        NonRelational.each{|m| nonrel << m}
        rel = []
        Relational.each{|m| rel << m}
        ops.should == nonrel + rel
      end
    
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-algebra/test_operator.rb
alf-core-0.14.0 spec/unit/alf-algebra/test_operator.rb
alf-core-0.13.1 spec/unit/alf-algebra/test_operator.rb
alf-core-0.13.0 spec/unit/alf-algebra/test_operator.rb