Add a further test to TestHSSFRow which verifies that bug #43901 is invalid

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610340 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2008-01-09 11:12:16 +00:00
parent f9e5145d9c
commit dc0a0b867a
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@ public class TestHSSFRow
row.createCell((short) 1);
assertEquals(1, row.getFirstCellNum());
assertEquals(2, row.getLastCellNum());
// check the exact case reported in 'bug' 43901 - notice that the cellNum is '0' based
row.createCell((short) 3);
assertEquals(1, row.getFirstCellNum());
assertEquals(3, row.getLastCellNum());
}