テストプログラムの実行
|
間違った場合 require 'test/unit' require 'romakana' class TestRomakana < Test::Unit::TestCase def test_000 assert_equal("kisya".roma2hiragana,"きしゃ") assert_equal("kisya","きしゃ".hiragana2roma) end endLoaded suite prog2 Started . Finished in 0.001761 seconds. 1 tests, 4 assertions, 0 failures, 0 errors