Sha256: 17b4301da65e444f89ed7811f9d46dcd658eecbe9d20905eea05a5b762b1e649

Contents?: true

Size: 726 Bytes

Versions: 1

Compression:

Stored size: 726 Bytes

Contents

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

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