MCPcopy Create free account
hub / github.com/d3/d3-shape / x

Function x

test/area-test.js:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18it("area(x, y0, y1) sets x0, y0 and y1", () => {
19 const x = function() {}, y = function() {};
20 assert.strictEqual(area(x).x0(), x);
21 assert.strictEqual(area(x, y).y0(), y);
22 assert.strictEqual(area(x, 0, y).y1(), y);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected