summaryrefslogtreecommitdiff
path: root/calc_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-01-05 00:13:29 +0800
committerxuri <xuri.me@gmail.com>2022-01-05 00:13:29 +0800
commit9e64df6a96685afcfbc7295beda38739868a6871 (patch)
tree091e643fe90da2e6bf5eb5a198ca8a8ca59c2ce2 /calc_test.go
parente37e060d6f97274c1e967cea40609623493bce25 (diff)
Update create style example, using a pointer of the structure instead of JSON
Diffstat (limited to 'calc_test.go')
-rw-r--r--calc_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/calc_test.go b/calc_test.go
index be2f185..a9899d1 100644
--- a/calc_test.go
+++ b/calc_test.go
@@ -3285,7 +3285,6 @@ func TestCalcCellValue(t *testing.T) {
"=YIELD(\"01/01/2010\",\"06/30/2015\",-1,101,100,4)": "PRICE requires rate >= 0",
"=YIELD(\"01/01/2010\",\"06/30/2015\",10%,0,100,4)": "PRICE requires pr > 0",
"=YIELD(\"01/01/2010\",\"06/30/2015\",10%,101,-1,4)": "PRICE requires redemption >= 0",
- // "=YIELD(\"01/01/2010\",\"06/30/2015\",10%,101,100,4)": "PRICE requires rate >= 0",
// YIELDDISC
"=YIELDDISC()": "YIELDDISC requires 4 or 5 arguments",
"=YIELDDISC(\"\",\"06/30/2017\",97,100,0)": "#VALUE!",