Example #1
0
	it('should match the result of the coffeescript version on a bunch of random floats', function() {
		var rand = repeat(56, Math.random);
		var ours = lp(rand, 33);
		var coff = coffee_partition(rand, 33);
		assert.deepEqual(ours, coff);
	});
Example #2
0
	it('runs on a bunch of random floats', function() {
		lp(repeat(56, Math.random), 33);
	});