Method: StringExt::Etest#test_downcase

Defined in:
lib/vex/base/string/string_ext.rb

#test_downcaseObject



154
155
156
157
158
159
160
161
162
163
164
165
# File 'lib/vex/base/string/string_ext.rb', line 154

def test_downcase
  assert_equal true, "expected".downcase?
  assert_equal false, "Expected".downcase?
  assert_equal false, "EXPECTED".downcase?

  assert_equal false, "expected".upcase?
  assert_equal false, "Expected".upcase?
  assert_equal true, "EXPECTED".upcase?

  assert_equal true, "".upcase?
  assert_equal true, "".downcase?
end