mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix test
This commit is contained in:
@@ -34,6 +34,15 @@ public class NumberChineseFormatterTest {
|
||||
Assert.assertEquals("一十", f1);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void formatTest3() {
|
||||
String f1 = NumberChineseFormatter.format(50008000, false, false);
|
||||
Assert.assertEquals("五千万零八千", f1);
|
||||
|
||||
f1 = NumberChineseFormatter.format(100350089, false, false);
|
||||
Assert.assertEquals("一亿零三十五万零八十九\"", f1);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void formatTraditionalTest() {
|
||||
String f1 = NumberChineseFormatter.format(10889.72356, true);
|
||||
|
Reference in New Issue
Block a user