Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ units.test.ts
File
units.test.ts
test/compute-engine/units.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ engine } from
'../utils'
;
2
import
{
3
getUnitDimension,
4
areCompatibleUnits,
Callers
nothing calls this directly
Calls
15
getUnitDimension
Function · 0.90
getUnitScale
Function · 0.90
areCompatibleUnits
Function · 0.90
getExpressionDimension
Function · 0.90
getExpressionScale
Function · 0.90
parseUnitDSL
Function · 0.90
dimensionsEqual
Function · 0.90
isDimensionless
Function · 0.90
boxedToUnitExpression
Function · 0.90
convertCompoundUnit
Function · 0.90
lookupDefinition
Method · 0.65
expr
Method · 0.65
Tested by
no test coverage detected