sanmai / JapaneseNumeral

Library to convert Japanese numeral to their Western variants (AKA Hindu-Arabic numerals)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not all Japanese numerals are converted correctly

sanmai opened this issue · comments

For example:

1) JapaneseNumerals\FromJapaneseToArabicTest::testConvert with data set #7 ('九百八十三万六千七百三', '9836703')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'9836703'
+'9801703'

2) JapaneseNumerals\FromJapaneseToArabicTest::testConvert with data set #8 ('二十億三千六百五十二万千八百一', '2036521801')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2036521801'
+'2016500801'