Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/darkreader/darkreader
/ math.tests.ts
File
math.tests.ts
tests/unit/utils/math.tests.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{scale, clamp, multiplyMatrices} from
'../../../src/utils/math'
;
2
3
test(
'Scale'
, () => {
4
expect(scale(5, 0, 10, 0, 100)).toEqual(50);
Callers
nothing calls this directly
Calls
3
scale
Function · 0.90
clamp
Function · 0.90
multiplyMatrices
Function · 0.90
Tested by
no test coverage detected