Sha256: d8812a25152ee32aeb74d1a258e056e443accc0a098fc814cad01dce5f72323c

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require "minitest/autorun"
require "gem_tutorial_kcheung"

class GemTutorialTest < Minitest::Test
  def test_english_hello
    assert_equal "hello world",
      GemTutorial.hi("english")
  end

  def test_any_hello
    assert_equal "hello world",
      GemTutorial.hi("ruby")
  end

  def test_spanish_hello
    assert_equal "hola mundo",
      GemTutorial.hi("spanish")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem_tutorial_kcheung-0.0.3 test/test_gem_tutorial_kcheung.rb