MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / TestGetSummaryStr

Function TestGetSummaryStr

stats_test.go:125–133  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

123}
124
125func TestGetSummaryStr(t *testing.T) {
126 cs := &ContinuousStats{}
127 data := []string{"10", "20", "30"}
128
129 str := cs.getSummaryStr(data)
130 if len(str) == 0 {
131 t.Error("getSummaryStr should return non-empty string")
132 }
133}
134
135// ========================================
136// Performance Tests

Callers

nothing calls this directly

Calls 1

getSummaryStrMethod · 0.95

Tested by

no test coverage detected