Sha256: b082b99a8a32dcd27f4c222010e05402db1d892b6d88219f9ac102a8967b406e

Contents?: true

Size: 216 Bytes

Versions: 2

Compression:

Stored size: 216 Bytes

Contents

require 'facets/ruby'
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

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.0 test/test_ruby/symbol/test_succ.rb
facets-2.4.1 test/test_ruby/symbol/test_succ.rb