var take = Daedalus.take

describe('(Function) take', function () {
  it('Should be a function.', function () {
    expect(take).to.be.a('function')
  })
  
  it('Should be curried.', function () {
    expect(take()).to.be.a('function')  
  })
  
  it('Should return the n number of items from an array.', function () {
    expect(take(2, [1,2,3,4])).to.deep.equal([1,2])
  })
  
  it('Should only take as many items as actually exist.', function () {
    expect(take(15, [1,2,3,4])).to.deep.equal([1,2,3,4])
  })
})
@@ -507,10 +507,251 @@
 %5D)%0A  %7D)%0A
+  %0A  it('Should produce a new object reference even if the result is identitical.', function () %7B%0A    var arr = %5B1,2,3,4,5%5D%0A    var res = take(100, arr)%0A     %0A    expect(res).to.deep.equal(%5B1,2,3,4,5%5D)%0A    expect(res).to.not.equal(arr)%0A  %7D)%0A
 %7D)

add object reference check for identitcal result