MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / testBegin

Function testBegin

tests/modules/commodetto/poco/begin.js:10–15  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

8const render = new Poco(screen);
9
10function testBegin(...args) {
11 render.begin.apply(render, args);
12 render.end();
13
14 assert.sameValue("ac3553226808462a69794df4390b20d5", screen.checksum, "image mismatch");
15}
16
17testBegin();
18testBegin({x: 0, y: 0, w: render.width, h: render.height});

Callers 1

begin.jsFile · 0.85

Calls 1

endMethod · 0.65

Tested by

no test coverage detected