Sha256: adcf5f61610b9baa596c76b92e30d53d6a69c8949b0bea2f7a621747235f4e77

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/module/nesting.rb
#
# Extracted Mon Jul 03 00:56:56 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/module/nesting.rb'


  require 'test/unit'

  class TCModule < Test::Unit::TestCase

    module M
      module N
        class C
          def n
            self.class.nesting
          end
        end
      end
    end

    def test_nesting
      assert_equal( [TCModule, M, M::N, M::N::C], M::N::C.new.n )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.4 test/lib/facets/core/module/test_nesting.rb