Home
last modified time | relevance | path

Searched refs:testAfter (Results 1 – 1 of 1) sorted by relevance

/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
H A Dfunctions.js649 var testAfter = function(afterAmount, timesCalled) { function
658 assert.equal(testAfter(5, 5), 1, 'after(N) should fire after being called N times');
659 assert.equal(testAfter(5, 4), 0, 'after(N) should not fire unless called N times');
660 assert.equal(testAfter(0, 0), 0, 'after(0) should not fire immediately');
661 assert.equal(testAfter(0, 1), 1, 'after(0) should fire when first invoked');