mirror of https://github.com/apache/poi.git
update test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
935c8ab06a
commit
5745fc0a68
|
@ -2227,6 +2227,9 @@ public final class TestXSSFSheet extends BaseTestXSheet {
|
|||
void testCustomWidthAndHeight() throws IOException {
|
||||
try (XSSFWorkbook wb = (XSSFWorkbook) _testDataProvider.openSampleWorkbook("WidthsAndHeights.xlsx")) {
|
||||
XSSFSheet sheet = wb.getSheetAt(0);
|
||||
assertEquals(8, sheet.getDefaultColumnWidth());
|
||||
assertEquals(300, sheet.getDefaultRowHeight());
|
||||
assertEquals(15.0, sheet.getDefaultRowHeightInPoints(), 0.00001);
|
||||
assertEquals(5120, sheet.getColumnWidth(0));
|
||||
assertEquals(2048, sheet.getColumnWidth(1));
|
||||
assertEquals(0, sheet.getColumnWidth(2));
|
||||
|
|
Loading…
Reference in New Issue