MCPcopy Index your code
hub / github.com/EngoEngine/engo / TestEveryInterface

Function TestEveryInterface

common/interfaces_test.go:123–132  ·  view source on GitHub ↗

TestEveryInterface Creates an Everything component and tries to add and then remove it from each system to each system using AddByInterface. I can't test adding things that don't work as the code won't compile

(t *testing.T)

Source from the content-addressed store, hash-verified

121// TestEveryInterface Creates an Everything component and tries to add and then remove it from each system to each system using AddByInterface.
122// I can't test adding things that don't work as the code won't compile
123func TestEveryInterface(t *testing.T) {
124 s := &TestInterfaceScene{}
125 engo.Run(engo.RunOptions{
126 NoRun: true,
127 HeadlessMode: true,
128 }, s)
129 if s.failed {
130 t.Errorf("failed to test every interface. Reason: %v", s.reason)
131 }
132}

Callers

nothing calls this directly

Calls 1

RunFunction · 0.92

Tested by

no test coverage detected