(t *testing.T)
| 24 | } |
| 25 | |
| 26 | func TestMeterValue(t *testing.T) { |
| 27 | b := NewBody() |
| 28 | m := NewMeter(b).SetValue(0.7) |
| 29 | tt, _ := m.WidgetTooltip(image.Point{}) |
| 30 | assert.Equal(t, "(value: 0.7, minimum: 0, maximum: 1)", tt) |
| 31 | b.AssertRender(t, "meter/value") |
| 32 | } |
| 33 | |
| 34 | func TestMeterBounds(t *testing.T) { |
| 35 | b := NewBody() |
nothing calls this directly
no test coverage detected