(t *testing.T)
| 18 | } |
| 19 | |
| 20 | func TestTablePlotEditor(t *testing.T) { |
| 21 | b := core.NewBody() |
| 22 | |
| 23 | epc := table.NewTable("epc") |
| 24 | epc.OpenCSV("testdata/ra25epoch.tsv", table.Tab) |
| 25 | |
| 26 | pl := NewPlotEditor(b) |
| 27 | pl.Options.Title = "RA25 Epoch Train" |
| 28 | pl.Options.XAxis = "Epoch" |
| 29 | // pl.Options.Scale = 2 |
| 30 | pl.Options.Points = true |
| 31 | pl.SetTable(epc) |
| 32 | pl.ColumnOptions("UnitErr").On = true |
| 33 | b.AddAppBar(pl.MakeToolbar) |
| 34 | b.AssertRender(t, "table") |
| 35 | } |
| 36 | |
| 37 | func TestSlicePlotEditor(t *testing.T) { |
| 38 | data := []Data{ |
nothing calls this directly
no test coverage detected