test: add Power CalcFormulaValue test case

pull/2/head
Imhven 2 years ago
parent 1fcfc8f0b0
commit d83096cdb7

@ -5921,6 +5921,15 @@ func TestFile_CalcFormulaValue(t *testing.T) {
}, },
wantResult: "5", wantResult: "5",
}, },
{
name: "test Power CalcFormulaValue",
f: prepareCalcData(cellData),
args: args{
sheet: "Sheet1",
formula: "A1^2+LN(B1)",
},
wantResult: "2.386294361119891",
},
} }
for _, tt := range tests { for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {

Loading…
Cancel
Save