spreadsheet
typeScript/javascript spreadsheet parser, with formulas.
git clone https://git.vogt.world/spreadsheet.git
Log | Files | README.md
← Commit log
commit
message
Correcting cell functions in SheetFormulaTest.ts
author
Ben Vogt <[email protected]>
date
2017-01-01 23:12:40
stats
1 file(s) changed, 6 insertions(+), 6 deletions(-)
files
tests/SheetFormulaTest.ts
 1diff --git a/tests/SheetFormulaTest.ts b/tests/SheetFormulaTest.ts
 2index 1f62013..75c0dce 100644
 3--- a/tests/SheetFormulaTest.ts
 4+++ b/tests/SheetFormulaTest.ts
 5@@ -9,10 +9,10 @@ sheet.setCell("A3", "=CONCATENATE(A1, A2)");
 6 sheet.setCell("B1", "1000");
 7 sheet.setCell("B2", "=CONCATENATE(A1, B1)");
 8 var cell = sheet.getCell("A3");
 9-assertEquals("Hello, World!", cell.value);
10-assertEquals(null, cell.error)
11-assertArrayEquals(['A1', 'A2'], cell.dependencies);
12+assertEquals("Hello, World!", cell.getValue());
13+assertEquals(null, cell.getError());
14+assertArrayEquals(['A1', 'A2'], cell.getDependencies());
15 var cell = sheet.getCell("B2");
16-assertEquals("Hello, 1000", cell.value);
17-assertEquals(null, cell.error)
18-assertArrayEquals(['A1', 'B1'], cell.dependencies);
19+assertEquals("Hello, 1000", cell.getValue());
20+assertEquals(null, cell.getError());
21+assertArrayEquals(['A1', 'B1'], cell.getDependencies());