Sha256: 37c04c2bc340a8d7a7b563bcff97c84d9c8b4ee50c1eec5ef11a4927b372d56e

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/kernel/method.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/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-0.9.0 test/lib/nano/kernel/test_method.rb