Sha256: 38c7d1f0b60637fd7d505dd67e23b209f24ba3aeb6691cfed88eebe3731557ff

Contents?: true

Size: 984 Bytes

Versions: 2

Compression:

Stored size: 984 Bytes

Contents

require 'spec_helper'
module Alf
  describe Operator::Relational do
    
    specify "each" do
      x = []
      Operator::Relational.each{|m| x << m}
      x.sort{|m1,m2| m1.name.to_s <=> m2.name.to_s}.should == [
        Alf::Operator::Relational::Extend,
        Alf::Operator::Relational::Group,
        Alf::Operator::Relational::Intersect,
        Alf::Operator::Relational::Join,
        Alf::Operator::Relational::Matching,
        Alf::Operator::Relational::Minus,
        Alf::Operator::Relational::NotMatching,
        Alf::Operator::Relational::Project,
        Alf::Operator::Relational::Quota,
        Alf::Operator::Relational::Rank,
        Alf::Operator::Relational::Rename,
        Alf::Operator::Relational::Restrict,
        Alf::Operator::Relational::Summarize,
        Alf::Operator::Relational::Ungroup,
        Alf::Operator::Relational::Union,
        Alf::Operator::Relational::Unwrap,
        Alf::Operator::Relational::Wrap,
      ]
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alf-0.10.0 spec/unit/operator/test_relational.rb
alf-0.9.3 spec/unit/operator/test_relational.rb