MCPcopy
hub / github.com/qax-os/excelize / TestEvalInfixExp

Function TestEvalInfixExp

calc_test.go:6666–6673  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

6664}
6665
6666func TestEvalInfixExp(t *testing.T) {
6667 f := NewFile()
6668 arg, err := f.evalInfixExp(nil, "Sheet1", "A1", []efp.Token{
6669 {TSubType: efp.TokenSubTypeRange, TValue: "1A"},
6670 })
6671 assert.Equal(t, arg, newEmptyFormulaArg())
6672 assert.Equal(t, formulaErrorNAME, err.Error())
6673}
6674
6675func TestParseToken(t *testing.T) {
6676 f := NewFile()

Callers

nothing calls this directly

Calls 4

evalInfixExpMethod · 0.95
NewFileFunction · 0.85
newEmptyFormulaArgFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected