Sha256: 7fc03f6182ac985ee75976ad09a057f7f690e3eba19ba353c30e0c38cb031926
Contents?: true
Size: 254 Bytes
Versions: 49
Compression:
Stored size: 254 Bytes
Contents
//= require array_sum describe("Array#sum (js)", function(){ it("returns 0 when the Array is empty", function(){ [].sum().should.equal(0); }); it("returns the sum of numeric elements", function(){ [1,2,3].sum().should.equal(6); }); });
Version data entries
49 entries across 49 versions & 2 rubygems