Sha256: 6c2fdf14aa8cc36f6476e2b31ee213f0a66b16afff97776c059fb684270690e8
Contents?: true
Size: 438 Bytes
Versions: 6
Compression:
Stored size: 438 Bytes
Contents
require("../env"); require("../../d3"); require("../../d3.layout"); var vows = require("vows"), assert = require("assert"); var suite = vows.describe("d3.layout.tree"); suite.addBatch({ "tree": { topic: d3.layout.tree, "can handle an empty children array": function(tree) { assert.deepEqual(tree.nodes({children: []}), [ {children: [], depth: 0, x: 0.5, y: 0} ]); } } }); suite.export(module);
Version data entries
6 entries across 6 versions & 1 rubygems