MCPcopy Create free account
hub / github.com/datasweet/datatable / TestPrint

Function TestPrint

table_print_test.go:10–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func TestPrint(t *testing.T) {
11 tb := New(t)
12
13 checkTable(t, tb,
14 "champ", "champion", "win", "loose", "winRate", "sum", "ok",
15 "Malzahar", "MALZAHAR", 10, 6, "62.5 %", 696.0, true,
16 "Xerath", "XERATH", 20, 5, "80 %", 696.0, true,
17 "Teemo", "TEEMO", 666, 666, "50 %", 696.0, true,
18 )
19
20 tb.Print(os.Stdout, datatable.PrintColumnType(false), datatable.PrintMaxRows(3))
21}

Callers

nothing calls this directly

Calls 5

PrintColumnTypeFunction · 0.92
PrintMaxRowsFunction · 0.92
checkTableFunction · 0.85
PrintMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected