Sha256: d80e5bd845b5387780f1290ab9d062697d3db59ca087348c9c89ffeda6e10361

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'
module Alf
  module Lang
    describe Predicates do
      include Predicates

      it "eq should factor a predicate" do
        eq(:x, 12).should be_a(Alf::Predicate)
      end

      it "between should factor a predicate" do
        between(:x, 2, 3).should be_a(Alf::Predicate)
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-lang/test_predicates.rb
alf-core-0.14.0 spec/unit/alf-lang/test_predicates.rb
alf-core-0.13.1 spec/unit/alf-lang/test_predicates.rb
alf-core-0.13.0 spec/unit/alf-lang/test_predicates.rb