MCPcopy Create free account
hub / github.com/melonjs/melonJS / gradient.spec.js

File gradient.spec.js

packages/melonjs/tests/gradient.spec.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeAll, beforeEach, describe, expect, it } from "vitest";
2import { Application, Color, Gradient } from "../src/index.js";
3
4describe("Gradient", () => {

Callers

nothing calls this directly

Calls 12

createLinearGradientMethod · 0.80
addColorStopMethod · 0.80
createRadialGradientMethod · 0.80
toCanvasGradientMethod · 0.80
getColorAtMethod · 0.80
destroyMethod · 0.65
setColorMethod · 0.45
fillRectMethod · 0.45
saveMethod · 0.45
restoreMethod · 0.45
getContextMethod · 0.45
toCanvasMethod · 0.45

Tested by

no test coverage detected