MCPcopy
hub / github.com/google/mangle / name

Function name

functional/functional_test.go:14–20  ·  view source on GitHub ↗
(n string)

Source from the content-addressed store, hash-verified

12)
13
14func name(n string) ast.Constant {
15 c, err := ast.Name(n)
16 if err != nil {
17 panic(err)
18 }
19 return c
20}
21
22func TestEvalFloatPlus(t *testing.T) {
23 tests := []struct {

Callers 10

TestEvalApplyFnFunction · 0.70
TestEvalApplyFnNegativeFunction · 0.70
TestNameFunsFunction · 0.70
TestReducerCollectToMapFunction · 0.70
TestTimeFormatFunction · 0.70
TestTimeFormatCivilFunction · 0.70
TestTimeFormatInvalidFunction · 0.70
TestTimeTruncFunction · 0.70
TestTimeTruncInvalidFunction · 0.70

Calls 1

NameFunction · 0.92

Tested by

no test coverage detected