Sha256: fe1e927d7bac61afcfc53b0fe5944d3151e400bb606f973cd4f7d91c879e35b4

Contents?: true

Size: 740 Bytes

Versions: 1

Compression:

Stored size: 740 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/kernel/constant.rb
#
# Extracted Tue Jun 06 09:30:19 EDT 2006
# Unit Tools Reap Test Extractor
#

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


  require 'test/unit'

  class TCKernel < Test::Unit::TestCase

    def test_constant
      c = ::Test::Unit::TestCase.name
      assert_equal( ::Test::Unit::TestCase, constant(c) )
      c = "Test::Unit::TestCase"
      assert_equal( ::Test::Unit::TestCase, constant(c) )
      c = "Unit::TestCase"
      assert_equal( ::Test::Unit::TestCase, Test.constant(c) )
      c = "TestCase"
      assert_equal( ::Test::Unit::TestCase, Test::Unit.constant(c) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.1 test/lib/facets/core/kernel/test_constant.rb