(sprite, stub)
| 405 | |
| 406 | // run the full draw lifecycle the way the engine does |
| 407 | function fullDraw(sprite, stub) { |
| 408 | sprite.preDraw(stub); |
| 409 | sprite.draw(stub); |
| 410 | sprite.postDraw(stub); |
| 411 | } |
| 412 | |
| 413 | it("Sprite without normalMap leaves currentNormalMap unchanged", () => { |
| 414 | const s = new Sprite(0, 0, { |
no test coverage detected