(t *testing.T)
| 92 | } |
| 93 | |
| 94 | func 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 | |
| 104 | func TestScaleOnResize(t *testing.T) { |
| 105 | Run(RunOptions{ |