summaryrefslogtreecommitdiff
path: root/school/node_modules/deep-is/test
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/deep-is/test')
-rw-r--r--school/node_modules/deep-is/test/NaN.js16
-rw-r--r--school/node_modules/deep-is/test/cmp.js23
-rw-r--r--school/node_modules/deep-is/test/neg-vs-pos-0.js15
3 files changed, 0 insertions, 54 deletions
diff --git a/school/node_modules/deep-is/test/NaN.js b/school/node_modules/deep-is/test/NaN.js
deleted file mode 100644
index ddaa5a7..0000000
--- a/school/node_modules/deep-is/test/NaN.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var test = require('tape');
-var equal = require('../');
-
-test('NaN and 0 values', function (t) {
- t.ok(equal(NaN, NaN));
- t.notOk(equal(0, NaN));
- t.ok(equal(0, 0));
- t.notOk(equal(0, 1));
- t.end();
-});
-
-
-test('nested NaN values', function (t) {
- t.ok(equal([ NaN, 1, NaN ], [ NaN, 1, NaN ]));
- t.end();
-});
diff --git a/school/node_modules/deep-is/test/cmp.js b/school/node_modules/deep-is/test/cmp.js
deleted file mode 100644
index 3071013..0000000
--- a/school/node_modules/deep-is/test/cmp.js
+++ /dev/null
@@ -1,23 +0,0 @@
-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();
-});
diff --git a/school/node_modules/deep-is/test/neg-vs-pos-0.js b/school/node_modules/deep-is/test/neg-vs-pos-0.js
deleted file mode 100644
index ac26130..0000000
--- a/school/node_modules/deep-is/test/neg-vs-pos-0.js
+++ /dev/null
@@ -1,15 +0,0 @@
-var test = require('tape');
-var equal = require('../');
-
-test('0 values', function (t) {
- t.ok(equal( 0, 0), ' 0 === 0');
- t.ok(equal( 0, +0), ' 0 === +0');
- t.ok(equal(+0, +0), '+0 === +0');
- t.ok(equal(-0, -0), '-0 === -0');
-
- t.notOk(equal(-0, 0), '-0 !== 0');
- t.notOk(equal(-0, +0), '-0 !== +0');
-
- t.end();
-});
-