MCPcopy
hub / github.com/apache/echarts / modelEqualsToOrigin

Function modelEqualsToOrigin

test/ut/spec/model/Global.test.ts:83–93  ·  view source on GitHub ↗
(
        chart: EChartsType,
        idxList: number[],
        origins: OriginModelView[],
        boolResult: boolean
    )

Source from the content-addressed store, hash-verified

81 }
82
83 function modelEqualsToOrigin(
84 chart: EChartsType,
85 idxList: number[],
86 origins: OriginModelView[],
87 boolResult: boolean
88 ): void {
89 for (let i = 0; i < idxList.length; i++) {
90 const idx = idxList[i];
91 expect(origins[idx].model === getSeries(chart, idx)).toEqual(boolResult);
92 }
93 }
94
95 function viewEqualsToOrigin(
96 chart: EChartsType,

Callers 1

Global.test.tsFile · 0.85

Calls 1

getSeriesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…