mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
test-data/spreadsheet/42016.xls
Normal file
BIN
test-data/spreadsheet/42016.xls
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user