PageRenderTime 26ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/vendor/gems/facets-2.4.5/test/core/symbol/test_succ.rb

https://bitbucket.org/mediashelf/fedora-migrator
Ruby | 13 lines | 9 code | 4 blank | 0 comment | 0 complexity | 6b1dc7375aee90806faef5b2b5ab74f2 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, IPL-1.0, AGPL-1.0, LGPL-3.0
  1. require 'facets/symbol/succ'
  2. require 'test/unit'
  3. class TestSymbol < Test::Unit::TestCase
  4. def test_succ
  5. assert_equal( :b, :a.succ )
  6. assert_equal( :aab, :aaa.succ )
  7. assert_equal( :"2", :"1".succ )
  8. end
  9. end