(t *testing.T)
| 64 | } |
| 65 | |
| 66 | func TestSetScaleOnResize(t *testing.T) { |
| 67 | Run(RunOptions{ |
| 68 | HeadlessMode: true, |
| 69 | NoRun: true, |
| 70 | }, &testScene{}) |
| 71 | if opts.ScaleOnResize { |
| 72 | t.Error("ScaleOnResize didn't default to false.") |
| 73 | } |
| 74 | SetScaleOnResize(true) |
| 75 | if !opts.ScaleOnResize { |
| 76 | t.Error("SetScaleOnResize didn't set properly.") |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | func TestSetOverrideCloseAction(t *testing.T) { |
| 81 | Run(RunOptions{ |
nothing calls this directly
no test coverage detected