Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #212 from takkii/develop
Browse files Browse the repository at this point in the history
Update, single word match.
  • Loading branch information
takkii authored Nov 13, 2021
2 parents 27d3da5 + d80525a commit 8d46f42
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions mini_test/mini_test_tenji.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'minitest/autorun'
require 'minitest/reporters'
require "./lib/minitest_tenji"
require './lib/minitest_tenji'

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Expand All @@ -15,7 +15,7 @@ def setup
@tenji_maker = TenjiMaker.new
end

def test_a_hi_ru
def test_a_hi_ru
tenji = @tenji_maker.to_tenji('A HI RU')
assert_equal <<~TENJI.chomp, tenji
o- o- oo
Expand Down Expand Up @@ -69,4 +69,13 @@ def test_ki_tu_ne
TENJI
end

end
# single word mini-test.
def test_A
tenji = @tenji_maker.to_tenji('A')
assert_equal <<~TENJI.chomp, tenji
o-
--
--
TENJI
end
end

0 comments on commit 8d46f42

Please sign in to comment.