diff --git a/src/com/msb/test/CommonTest.java b/src/com/msb/test/CommonTest.java new file mode 100644 index 0000000..3387a99 --- /dev/null +++ b/src/com/msb/test/CommonTest.java @@ -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); + } + +}