mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-07 14:18:05 +08:00
fix test
This commit is contained in:
parent
2b824561ea
commit
5c6e548db2
@ -34,6 +34,15 @@ public class NumberChineseFormatterTest {
|
|||||||
Assert.assertEquals("一十", f1);
|
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
|
@Test
|
||||||
public void formatTraditionalTest() {
|
public void formatTraditionalTest() {
|
||||||
String f1 = NumberChineseFormatter.format(10889.72356, true);
|
String f1 = NumberChineseFormatter.format(10889.72356, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user