mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
2b824561ea
commit
5c6e548db2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user