MCPcopy Create free account
hub / github.com/cogentcore/core / TestBindSlider

Function TestBindSlider

core/value_test.go:55–59  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

53}
54
55func TestBindSlider(t *testing.T) {
56 b := NewBody()
57 Bind(0.65, NewSpinner(b))
58 b.AssertRender(t, "bind/slider")
59}
60
61func TestBindMeter(t *testing.T) {
62 b := NewBody()

Callers

nothing calls this directly

Calls 4

AssertRenderMethod · 0.95
NewBodyFunction · 0.85
BindFunction · 0.85
NewSpinnerFunction · 0.85

Tested by

no test coverage detected