Sha256: 310161e3dfd72b4e59242fc0146fdcdee5b18dd065d6d1d089c1a3a1596ce658

Contents?: true

Size: 419 Bytes

Versions: 16

Compression:

Stored size: 419 Bytes

Contents

require 'facets/string/capitalized.rb'
require 'test/unit'

class TestStringCapitalized < Test::Unit::TestCase

  def test_capitalized?
    assert( 'Abc'.capitalized? )
  end

  def test_downcase?
    assert( 'abc'.downcase? )
  end

  #def test_lowercase?
  #  assert( 'abc'.lowercase? )
  #end

  def test_upcase?
    assert( 'ABC'.upcase? )
  end

  #def test_uppercase?
  #  assert( 'ABC'.uppercase? )
  #end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/string/test_capitalized.rb
facets-2.8.3 test/core/string/test_capitalized.rb
facets-2.8.2 test/core/string/test_capitalized.rb
facets-2.8.1 test/core/string/test_capitalized.rb
facets-2.8.0 test/core/string/test_capitalized.rb
facets-2.7.0 test/core/string/test_capitalized.rb
facets-2.6.0 test/core/string/test_capitalized.rb
facets-2.4.0 test/string/test_capitalized.rb
facets-2.4.1 test/string/test_capitalized.rb
facets-2.4.4 test/core/string/test_capitalized.rb
facets-2.4.2 test/core/string/test_capitalized.rb
facets-2.4.3 test/core/string/test_capitalized.rb
facets-2.5.0 test/core/string/test_capitalized.rb
facets-2.4.5 test/core/string/test_capitalized.rb
facets-2.5.1 test/core/string/test_capitalized.rb
facets-2.5.2 test/core/string/test_capitalized.rb