Sha256: dd9f69b211c8ded62efe05454524ae702aa29801b0998f34480f67ee98ba343e
Contents?: true
Size: 723 Bytes
Versions: 10
Compression:
Stored size: 723 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ | # |_|\___||___/\__| # # for lib/facets/string/case.rb # # Extracted Mon Sep 03 16:23:07 -0700 2007 # w/ Test Extraction Ratchet # require 'facets/string/case.rb' require 'test/unit' #class String # include Compare #end class TestStringCase < 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
10 entries across 10 versions & 1 rubygems