MCPcopy Create free account
hub / github.com/melonjs/melonJS / rectangle.spec.ts

File rectangle.spec.ts

packages/melonjs/tests/rectangle.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeAll, describe, expect, it } from "vitest";
2import { Bounds, math, pool, Rect } from "../src/index.js";
3
4describe("Shape : Rect", () => {

Callers

nothing calls this directly

Calls 15

registerMethod · 0.80
unionMethod · 0.80
cloneMethod · 0.65
getBoundsMethod · 0.65
isFiniteMethod · 0.45
shiftMethod · 0.45
translateMethod · 0.45
scaleMethod · 0.45
centerOnMethod · 0.45
overlapsMethod · 0.45
resizeMethod · 0.45
rotateMethod · 0.45

Tested by

no test coverage detected