Test Setters
(t *testing.T)
| 15 | |
| 16 | // Test Setters |
| 17 | func TestSetFormat(t *testing.T) { |
| 18 | tabulate := Create([][]float64{FLOAT_ARRAY, FLOAT_ARRAY, FLOAT_ARRAY}) |
| 19 | tabulate.SetHeaders(HEADERS) |
| 20 | tabulate.SetFloatFormat('f') |
| 21 | assert.Equal(t, tabulate.Render("grid"), readTable("_tests/table_float")) |
| 22 | } |
| 23 | |
| 24 | // Test Align Left, Align Right, Align Center |
| 25 | func TestPads(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…