(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestSlicePlotEditor(t *testing.T) { |
| 38 | data := []Data{ |
| 39 | {"Davis", 62000, 500}, |
| 40 | {"Boulder", 85000, 800}, |
| 41 | } |
| 42 | |
| 43 | b := core.NewBody() |
| 44 | |
| 45 | pl := NewPlotEditor(b) |
| 46 | pl.Options.Title = "Slice Data" |
| 47 | pl.Options.Points = true |
| 48 | pl.SetSlice(data) |
| 49 | b.AddAppBar(pl.MakeToolbar) |
| 50 | |
| 51 | b.AssertRender(t, "slice") |
| 52 | } |
nothing calls this directly
no test coverage detected