mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +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);
|
||||
|
@ -9,13 +9,13 @@ import java.awt.Font;
|
||||
import java.awt.Rectangle;
|
||||
|
||||
public class ImgTest {
|
||||
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void cutTest1() {
|
||||
Img.from(FileUtil.file("e:/pic/face.jpg")).cut(0, 0, 200).write(FileUtil.file("e:/pic/face_radis.png"));
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void compressTest() {
|
||||
@ -28,7 +28,7 @@ public class ImgTest {
|
||||
final Img from = Img.from(FileUtil.file("d:/test/81898311-001d6100-95eb-11ea-83c2-a14d7b1010bd.png"));
|
||||
ImgUtil.write(from.getImg(), FileUtil.file("d:/test/dest.jpg"));
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void roundTest() {
|
||||
|
Loading…
Reference in New Issue
Block a user