Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
446 B
23 lines
446 B
var test = require('tape');
|
|
var equal = require('../');
|
|
|
|
test('equal', function (t) {
|
|
t.ok(equal(
|
|
{ a : [ 2, 3 ], b : [ 4 ] },
|
|
{ a : [ 2, 3 ], b : [ 4 ] }
|
|
));
|
|
t.end();
|
|
});
|
|
|
|
test('not equal', function (t) {
|
|
t.notOk(equal(
|
|
{ x : 5, y : [6] },
|
|
{ x : 5, y : 6 }
|
|
));
|
|
t.end();
|
|
});
|
|
|
|
test('nested nulls', function (t) {
|
|
t.ok(equal([ null, null, null ], [ null, null, null ]));
|
|
t.end();
|
|
});
|
|
|