From a65c5846e45fece382f72465f9e858c788dfcfef Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 10 Jul 2022 18:14:48 +0800 Subject: 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 --- calc_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calc_test.go') 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}, -- cgit v1.2.1