MCPcopy Index your code
hub / github.com/codechenx/FastTableViewer / TestGetColumnMaxWidth_Default

Function TestGetColumnMaxWidth_Default

utils_test.go:171–178  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

169}
170
171func TestGetColumnMaxWidth_Default(t *testing.T) {
172 wrappedColumns = make(map[int]int)
173
174 width := getColumnMaxWidth(5)
175 if width != 50 {
176 t.Errorf("getColumnMaxWidth(5) = %d, want default 50", width)
177 }
178}
179
180// ========================================
181// Help Content Tests

Callers

nothing calls this directly

Calls 1

getColumnMaxWidthFunction · 0.85

Tested by

no test coverage detected