MCPcopy
hub / github.com/palantir/plottable / assertPlotEntitiesEqual

Function assertPlotEntitiesEqual

test/testMethods.ts:129–135  ·  view source on GitHub ↗
(actual: Plottable.Plots.IPlotEntity,
                                        expected: Plottable.Plots.IPlotEntity,
                                        msg: string)

Source from the content-addressed store, hash-verified

127}
128
129export function assertPlotEntitiesEqual(actual: Plottable.Plots.IPlotEntity,
130 expected: Plottable.Plots.IPlotEntity,
131 msg: string) {
132 assertEntitiesEqual(actual, expected, msg);
133 assert.strictEqual(actual.dataset, expected.dataset, msg + " (dataset)");
134 assert.strictEqual(actual.index, expected.index, msg + " (index)");
135}
136
137export function makeLinearSeries(n: number): { x: number; y: number }[] {
138 function makePoint(x: number) {

Callers

nothing calls this directly

Calls 1

assertEntitiesEqualFunction · 0.85

Tested by

no test coverage detected