Sha256: 7d03c2227a2620aba8a8d6584c5321418e674b4108f6d3c3504a2ea28130c969

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

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