MCPcopy 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
28func (d *DummyComponent) Update() {
29 for i, w := range d.wires {
30 d.next.SetInputWire(i, w.Get())
31 }
32}
33
34func TestEnabler(t *testing.T) {
35 d := new(DummyComponent)

Callers

nothing calls this directly

Calls 2

SetInputWireMethod · 0.65
GetMethod · 0.45

Tested by

no test coverage detected