mirror of https://github.com/apache/poi.git
Add simple unit test to verify that Bug 42016 was fixed already by some other fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
70695de82e
commit
b4d27a47bd
|
@ -2722,4 +2722,13 @@ public final class TestBugs extends BaseTestBugzillaIssues {
|
|||
FormulaEvaluator eval = wb.getCreationHelper().createFormulaEvaluator();
|
||||
assertEquals("4.0", eval.evaluate(intF).formatAsString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void bug42016() {
|
||||
Workbook wb = openSample("42016.xls");
|
||||
Sheet s = wb.getSheetAt(0);
|
||||
for(int row = 0;row < 7;row++) {
|
||||
assertEquals("A$1+B$1", s.getRow(row).getCell(2).getCellFormula());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue