diff --git a/calc_test.go b/calc_test.go index 13e2b8c..73357cb 100644 --- a/calc_test.go +++ b/calc_test.go @@ -5921,6 +5921,15 @@ func TestFile_CalcFormulaValue(t *testing.T) { }, 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 { t.Run(tt.name, func(t *testing.T) {