(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func 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 | } |
nothing calls this directly
no test coverage detected