Sha256: fe82831e49822f6856578ade68b0757b72051cd92c50c4b29e84e603f82123e1

Contents?: true

Size: 321 Bytes

Versions: 4

Compression:

Stored size: 321 Bytes

Contents

require_relative 'shared/a_predicate_ast_node'
module Alf
  class Predicate
    describe Factory, 'and' do
      include Factory

      subject{ self.and(true, true) }

      it_should_behave_like "a predicate AST node"
      it{ should be_a(And) }
      it{ should eql([:and, tautology, tautology]) }

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-predicate/factory/test_and.rb
alf-core-0.14.0 spec/unit/alf-predicate/factory/test_and.rb
alf-core-0.13.1 spec/unit/alf-predicate/factory/test_and.rb
alf-core-0.13.0 spec/unit/alf-predicate/factory/test_and.rb