Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ roundrect.spec.ts
File
roundrect.spec.ts
packages/melonjs/tests/roundrect.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, it } from
"vitest"
;
2
import
{ pool, Rect, RoundRect, Vector2d } from
"../src/index.js"
;
3
4
describe(
"Shape : RoundRect"
, () => {
Callers
nothing calls this directly
Calls
11
register
Method · 0.80
isConvex
Method · 0.80
clone
Method · 0.65
getBounds
Method · 0.65
contains
Method · 0.45
containsRectangle
Method · 0.45
copy
Method · 0.45
equals
Method · 0.45
setSize
Method · 0.45
resize
Method · 0.45
set
Method · 0.45
Tested by
no test coverage detected