Sha256: 2e9e7207f22efb98e4983fda868916582c4c86a62a6c0d78372d26e28314563e

Contents?: true

Size: 645 Bytes

Versions: 1

Compression:

Stored size: 645 Bytes

Contents

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

require 'nano/string/demodulize.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def setup
      @a =  "Down::Bottom"
      @b =  "Further::Down::Bottom"
    end

    def test_001
      assert_raises( ArgumentError ) { @a.demodulize(1) }
    end

    def test_002
      assert_equal( "Bottom", @a.demodulize )
    end

    def test_003
      assert_equal( "Bottom", @b.demodulize )
    end
  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.9.0 test/lib/nano/string/test_demodulize.rb