Sha256: 88c5d71a17b8dd6aee19ace56a6fa0aab89ddc23076cf7446f2f46866cd3c7eb

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

require 'test/unit'
require 'bone_hola'

class BoneHolaTest < Test::Unit::TestCase
  def test_chinese_hola
    assert_equal("你好,世界!", BoneHola.hi())
  end

  def test_spanish_hola
    assert_equal("hola mundo!", BoneHola.hi("spanish"))
  end

  def test_other_hola
    assert_equal("Hello World!", BoneHola.hi("english"))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bone_hola-0.0.3 test/test_hola.rb