class MiniUnitUpDown

UpDown Unit Test

Public Instance Methods

test_updown() click to toggle source
# File mini_test/mini_test_updown.rb, line 8
def test_updown
  str = 'object oriented language'
  str2 = 'RUBY_VERSION_IS'
  @upup = str.upcase
  @upup2 = 'object oriented language'.upcase
  @downdown = str2.downcase
  @downdown2 = 'RUBY_VERSION_IS'.downcase
  assert_equal @upup, @upup2
  assert_equal @downdown, @downdown2
end