Sha256: 30b813ba2bf47633afa1c855b46311c291ffa99e5332727261d66f7a56ab50cb

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/kernel/method.rb
#
# Extracted Tue Jul 25 10:07:15 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.7.0 test/lib/facets/core/kernel/test_method.rb