This commit is contained in:
Looly
2022-04-02 00:19:38 +08:00
parent d78b14c5d4
commit be96b8c8b3
3 changed files with 22 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
package cn.hutool.poi.excel;
import org.apache.poi.ss.usermodel.Workbook;
import org.junit.Assert;
import org.junit.Test;
public class WorkbookUtilTest {
@Test
public void createBookTest(){
Workbook book = WorkbookUtil.createBook(true);
Assert.assertNotNull(book);
book = WorkbookUtil.createBook(false);
Assert.assertNotNull(book);
}
}