MCPcopy
hub / github.com/EngoEngine/engo / TestHeadless

Function TestHeadless

engo_test.go:94–102  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

92}
93
94func TestHeadless(t *testing.T) {
95 Run(RunOptions{
96 HeadlessMode: true,
97 NoRun: true,
98 }, &testScene{})
99 if Headless() != opts.HeadlessMode {
100 t.Error("Headless didn't return the proper value.")
101 }
102}
103
104func TestScaleOnResize(t *testing.T) {
105 Run(RunOptions{

Callers

nothing calls this directly

Calls 3

RunFunction · 0.85
HeadlessFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected