Sha256: 095744b4be8442245c93031e5f166befda10da69f19b4c6c0248c7942a9a2566

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

require 'test/unit'
require 'bone_hola'

class BoneHolaTest < Test::Unit::TestCase
  def test_default_or_other_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

2 entries across 2 versions & 1 rubygems

Version Path
bone_hola-0.1.1 test/test_hola.rb
bone_hola-0.1.0 test/test_hola.rb