mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-02 06:02:19 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
11
web/node_modules/uniq/test/test.js
generated
vendored
Normal file
11
web/node_modules/uniq/test/test.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
var unique = require("../uniq.js")
|
||||
|
||||
require("tape")("unique", function(t) {
|
||||
|
||||
t.equals(unique([1,1,2,3,5,5,7]).join(), [1,2,3,5,7].join())
|
||||
t.equals(unique([]).join(), [].join())
|
||||
t.equals(unique([1,1,1]).join(), [1].join())
|
||||
t.equals(unique([1,1,1,2,2,2], function(a,b) { return (a^b)&1 }).join(), [2,1].join())
|
||||
|
||||
t.end()
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue