diff options
author | xuri <xuri.me@gmail.com> | 2022-07-10 18:14:48 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-07-10 18:14:48 +0800 |
commit | a65c5846e45fece382f72465f9e858c788dfcfef (patch) | |
tree | ff6d3bfe0ec854e5f46a15ff04b44c3acb37db39 /calc_test.go | |
parent | 1dbed64f105db2a715d963933642839460b6642a (diff) |
This closes #1262, support for dependence formulas calculation
- Add export option `MaxCalcIterations` for specifies the maximum iterations for iterative calculation
- Update unit test for the database formula functions
Diffstat (limited to 'calc_test.go')
-rw-r--r-- | calc_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calc_test.go b/calc_test.go index b8efd61..47cd806 100644 --- a/calc_test.go +++ b/calc_test.go @@ -4606,8 +4606,8 @@ func TestCalcCOVAR(t *testing.T) { func TestCalcDatabase(t *testing.T) { cellData := [][]interface{}{ {"Tree", "Height", "Age", "Yield", "Profit", "Height"}, - {"=Apple", ">1000%", nil, nil, nil, "<16"}, - {"=Pear"}, + {nil, ">1000%", nil, nil, nil, "<16"}, + {}, {"Tree", "Height", "Age", "Yield", "Profit"}, {"Apple", 18, 20, 14, 105}, {"Pear", 12, 12, 10, 96}, |