Sha256: 0a7371b9f91c7b413c34c705626dd9323753aeb1405df797eda5f1ca6794e49f

Contents?: true

Size: 193 Bytes

Versions: 16

Compression:

Stored size: 193 Bytes

Contents

require 'facets/symbol/not'
require 'test/unit'

class TestSymbolNot < Test::Unit::TestCase

  def test_not
    assert_equal( :"~a", ~:a )
    a = :a
    n = ~a
    assert( n.not? )
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/symbol/test_not.rb
facets-2.8.3 test/core/symbol/test_not.rb
facets-2.8.2 test/core/symbol/test_not.rb
facets-2.8.1 test/core/symbol/test_not.rb
facets-2.8.0 test/core/symbol/test_not.rb
facets-2.7.0 test/core/symbol/test_not.rb
facets-2.6.0 test/core/symbol/test_not.rb
facets-2.4.0 test/symbol/test_not.rb
facets-2.4.1 test/symbol/test_not.rb
facets-2.4.4 test/core/symbol/test_not.rb
facets-2.4.3 test/core/symbol/test_not.rb
facets-2.4.2 test/core/symbol/test_not.rb
facets-2.5.0 test/core/symbol/test_not.rb
facets-2.5.1 test/core/symbol/test_not.rb
facets-2.4.5 test/core/symbol/test_not.rb
facets-2.5.2 test/core/symbol/test_not.rb