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)
| 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 |
| 123 | func 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 | } |