parent
7fa73e7ddd
commit
9ecfae6abb
@ -0,0 +1,25 @@
|
||||
package com.msb.test;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @Author bingor
|
||||
* @Date 2022-10-01 10:48
|
||||
* @Description: com.msb.test
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public class CommonTest {
|
||||
|
||||
@Test
|
||||
public void testReadImage() throws IOException {
|
||||
BufferedImage bufferedImage = ImageIO.read(new File("E:\\myfile\\msb_马士兵教育体系\\课程下载的资源\\MCA高级构架师\\73-坦克大战(一期)\\images\\tankD.gif"));
|
||||
Assert.assertNotNull(bufferedImage);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in new issue