Sha256: 6b98113febf6b367c9a911ae823244dc72e94f367d40df3fbf949aec828c9d00

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/kernel/method.rb
#
# Extracted Tue Jun 20 15:12:26 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/kernel/method.rb'


  require 'test/unit'

  class TC_METHOD < Test::Unit::TestCase

    class TestWith
      def foo ; end
    end

    def test_method!
      t = TestWith.new
      assert_equal( t.method!(:foo).__id__, t.method!(:foo).__id__ )
      assert_not_equal( t.method(:foo).__id__, t.method(:foo).__id__ )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.2 test/lib/facets/core/kernel/test_method.rb