Sha256: c944ccfc0b0835889974a8e79fa9111ef11d57db275cd415dc360543c9f80ddb

Contents?: true

Size: 334 Bytes

Versions: 7

Compression:

Stored size: 334 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |
#   |_|\___||___/\__|
#

require 'facets/symbol/succ.rb'

require 'test/unit'

class TestSymbol < Test::Unit::TestCase

  def test_succ
    assert_equal( :b, :a.succ )
    assert_equal( :aab, :aaa.succ )
    assert_equal( :"2", :"1".succ )
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facets-2.1.1 test/unit/symbol/test_succ.rb
facets-2.0.3 test/unit/symbol/test_succ.rb
facets-2.0.4 test/unit/symbol/test_succ.rb
facets-2.0.5 test/unit/symbol/test_succ.rb
facets-2.1.0 test/unit/symbol/test_succ.rb
facets-2.1.2 test/unit/symbol/test_succ.rb
facets-2.1.3 test/unit/symbol/test_succ.rb