MCPcopy
hub / github.com/KilledByAPixel/LittleJS / pathFinder.test.mjs

File pathFinder.test.mjs

test/pathFinder.test.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { test } from 'node:test';
2import assert from 'node:assert/strict';
3import { PathFinder, vec2 } from '../dist/littlejs.esm.js';
4

Callers

nothing calls this directly

Calls 11

vec2Function · 0.90
assertFunction · 0.85
buildNodeDataMethod · 0.80
getNearestClearNodeMethod · 0.80
absMethod · 0.80
aStarSearchMethod · 0.80
findPathMethod · 0.80
smoothPathCornersMethod · 0.80
isLineClearMethod · 0.80
smoothPathStringPullMethod · 0.80
getNodeMethod · 0.45

Tested by

no test coverage detected