(actual: Plottable.Plots.IPlotEntity,
expected: Plottable.Plots.IPlotEntity,
msg: string)
| 127 | } |
| 128 | |
| 129 | export 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 | |
| 137 | export function makeLinearSeries(n: number): { x: number; y: number }[] { |
| 138 | function makePoint(x: number) { |
nothing calls this directly
no test coverage detected