Sha256: 4e69280e06176ea3dfcd8a02c55911659be7627c35124579db2771251e0bf1ae

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

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

      subject{ self.not(true) }

      it_should_behave_like "a predicate AST node"
      it{ should be_a(Not) }
      it{ should eql([:not, 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_not.rb
alf-core-0.14.0 spec/unit/alf-predicate/factory/test_not.rb
alf-core-0.13.1 spec/unit/alf-predicate/factory/test_not.rb
alf-core-0.13.0 spec/unit/alf-predicate/factory/test_not.rb