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

Function TestScaleOnResize

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

Source from the content-addressed store, hash-verified

102}
103
104func TestScaleOnResize(t *testing.T) {
105 Run(RunOptions{
106 HeadlessMode: true,
107 NoRun: true,
108 }, &testScene{})
109 if ScaleOnResize() != opts.ScaleOnResize {
110 t.Error("ScaleOnResize didn't return the proper value.")
111 }
112}
113
114func TestGameWidthHeight(t *testing.T) {
115 Run(RunOptions{

Callers

nothing calls this directly

Calls 3

RunFunction · 0.85
ScaleOnResizeFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected