root/lang/perl/Acme-Shukugawa-Atom/trunk/t/03_waiha.t
@
7989
| Revision 7989, 411 bytes (checked in by daisuke, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | use Test::Base; |
| 2 | use utf8; |
| 3 | |
| 4 | plan tests => 1 + 1 * blocks; |
| 5 | |
| 6 | use_ok("Acme::Shukugawa::Atom"); |
| 7 | |
| 8 | |
| 9 | sub translate { |
| 10 | Acme::Shukugawa::Atom->translate(shift); |
| 11 | } |
| 12 | |
| 13 | filters { |
| 14 | input => 'translate', |
| 15 | }; |
| 16 | |
| 17 | run_is; |
| 18 | |
| 19 | __DATA__ |
| 20 | |
| 21 | === |
| 22 | --- input: ハワイ |
| 23 | --- expected: ワイハー |
| 24 | |
| 25 | === |
| 26 | --- input: 狼 |
| 27 | --- expected: カミオー |
| 28 | |
| 29 | === |
| 30 | --- SKIP |
| 31 | # mecabの辞書にない? |
| 32 | --- input: 鋏 |
| 33 | --- expected: サミハー |
| 34 | |
| 35 |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)