Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ Update
Method
Update
components/components_test.go:28–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
func
(d *DummyComponent) Update() {
29
for
i, w :=
range
d.wires {
30
d.next.SetInputWire(i, w.Get())
31
}
32
}
33
34
func
TestEnabler(t *testing.T) {
35
d := new(DummyComponent)
Callers
nothing calls this directly
Calls
2
SetInputWire
Method · 0.65
Get
Method · 0.45
Tested by
no test coverage detected