Sha256: ba8f69fcec52bcf80172351891fac1a82354f7568dc595fc1004b81ad65a2b63

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

require 'compiler_helper'
module Alf
  class Compiler
    describe Default, "completude over algebra" do

      Algebra::Operator.registered.each do |operator|
        next if operator.ancestors.include?(Algebra::Shortcut)

        it "support #{operator}" do
          compiler.should respond_to(:"on_#{operator.rubycase_name}")
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-compiler/default/test_completude.rb