Sha256: fed66245ae55a4942152eabad580e7a6c60f7e2e3fd06c67a6e69d9a59df1312

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/string/succ.rb
#
# Extracted Wed Jan 25 11:25:39 EST 2006
# Unit Tools Reap Test Extractor
#

require 'facet/string/succ.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_succ
      assert_equal( "b", "a".succ )
      assert_equal( "b", "a".succ(1) )
      assert_equal( "c", "a".succ(2) )
      assert_equal( "d", "a".succ(3) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/string/test_succ.rb