2 from nose
.tools
import *
10 (u
'ヤミカラス', 'yamikarasu'),
19 (u
'ぎゃくてん', 'gyakuten'),
20 (u
'ウェザーボール', 'wezaabooru'),
22 # Special katakana combinations
23 (u
'ラティアス', 'ratiasu'),
28 for kana
, roomaji
in tests
:
29 result
= pokedex
.roomaji
.romanize(kana
)
30 assert_equal(result
, roomaji
, u
"'%s' romanizes correctly" % roomaji
)