Sha256: 7a5d04f4e29bd793df43011197fbd402628d31e59c663f08986abcfbd8795dd2
Contents?: true
Size: 549 Bytes
Versions: 31
Compression:
Stored size: 549 Bytes
Contents
require("../env"); require("../../d3"); var assert = require("assert"); module.exports = { topic: function() { return d3.select("body").append("div").transition(); }, "has a positive integer id": function(transition) { var id = transition.id; assert.isTrue(id > 0); assert.equal(~~id, id); }, "increases monotonically across transitions": function(transition) { var t0 = d3.select("body").append("div").transition(), t1 = d3.select("body").append("div").transition(); assert.isTrue(t1.id > t0.id); } };
Version data entries
31 entries across 31 versions & 2 rubygems