(t *testing.T)
| 59 | } |
| 60 | |
| 61 | func TestBindMeter(t *testing.T) { |
| 62 | b := NewBody() |
| 63 | Bind(15*time.Second, NewMeter(b)).SetMin(float32(time.Second)).SetMax(float32(time.Minute)) |
| 64 | b.AssertRender(t, "bind/meter") |
| 65 | } |
| 66 | |
| 67 | func TestBindText(t *testing.T) { |
| 68 | b := NewBody() |