Sha256: 16ff701978a6c37ce6a71215fd2bccb1708bf0c7333501e4a38bf3e9703533e5
Contents?: true
Size: 486 Bytes
Versions: 1
Compression:
Stored size: 486 Bytes
Contents
require_relative "../lib/iglatinpay.rb" require "minitest/autorun" class TestIglatinpay < Minitest::Test def test_to_piglatin_converts assert_equal("appyhay", "happy".to_piglatin) end def test_begin_consonants assert_equal("appyhay", Iglatinpay.new("happy").translate) end def test_remove_consecutive assert_equal("geway", Iglatinpay.new("egg").translate) end def test_begin_vowel assert_equal("nboxiway", Iglatinpay.new("inbox").translate) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iglatinpay-0.0.1 | test/test_iglatinpay.rb |