spreadsheet
typeScript/javascript spreadsheet parser, with formulas.
git clone https://git.vogt.world/spreadsheet.git
Log | Files | README.md
← Commit log
commit
message
[README.md] cleaning up TODOs
author
Ben Vogt <[email protected]>
date
2017-05-05 00:00:31
stats
3 file(s) changed, 4 insertions(+), 22 deletions(-)
files
README.md
tests/Formulas/StatisticalTest.ts
tests/SheetFormulaTest.ts
 1diff --git a/README.md b/README.md
 2index cf4338d..9d13d0e 100644
 3--- a/README.md
 4+++ b/README.md
 5@@ -40,6 +40,10 @@ and flexibility in display. It would also simplify the types themselves, by havi
 6 helpers to convert, display, and do normal operations with them.
 7 
 8 
 9+### Implement TO_DATE, TO_NUMBER, TO_DOLLARS, TO_TEXT
10+Contingent upon cells having formats or types for primitives.
11+
12+
13 ### Test all ExcelDate functions
14 Right now we're just using the number of days since 1900, but we should check the other functions.
15 
16diff --git a/tests/Formulas/StatisticalTest.ts b/tests/Formulas/StatisticalTest.ts
17index b8a29c4..e16c8de 100644
18--- a/tests/Formulas/StatisticalTest.ts
19+++ b/tests/Formulas/StatisticalTest.ts
20@@ -239,7 +239,6 @@ test("EXPONDIST", function(){
21 });
22 
23 
24-// TODO: Test this more.
25 test("FINV", function(){
26   assertEquals(FINV(0.42, 2, 3), 1.174597274485816);
27   assertEquals(FINV("0.42", 2, 3), 1.174597274485816);
28@@ -249,7 +248,6 @@ test("FINV", function(){
29 });
30 
31 
32-
33 test("FISHER", function(){
34   assertEquals(FISHER(0.962), 1.972066740199461);
35   assertEquals(FISHER([0.962]), 1.972066740199461);
36diff --git a/tests/SheetFormulaTest.ts b/tests/SheetFormulaTest.ts
37index 7eed83e..6ad51de 100644
38--- a/tests/SheetFormulaTest.ts
39+++ b/tests/SheetFormulaTest.ts
40@@ -252,28 +252,10 @@ test("Sheet F.DIST", function(){
41   assertFormulaEquals('=F.DIST(15.35, 7, 6, true)', 0.9980694465675269);
42 });
43 
44-// Test FDIST
45-// TODO: Test FDIST
46-/*
47- * F.DIST Calculates the left-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.
48- * FDIST Calculates the right-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.
49- *
50- * F.DIST is left-tailed. FDIST is right-tailed.
51- */
52-
53 test("Sheet FINV", function(){
54   assertFormulaEquals('=FINV(0.42, 2, 3)', 1.174597274485816);
55 });
56 
57-// Test F.INV
58-// TODO: Test F.INV
59-/*
60- * FINV Calculates the inverse of the right-tailed F probability distribution. Also called the Fisher-Snedecor distribution or Snedecor’s F distribution.
61- * F.INV Calculates the inverse of the left-tailed F probability distribution. Also called the Fisher-Snedecor distribution or Snedecor’s F distribution.
62- *
63- * F.INV is left-tailed. FINV is right-tailed.
64- */
65-
66 test("Sheet FISHER", function(){
67   assertFormulaEquals('=FISHER(0.962)', 1.972066740199461);
68 });