main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
329 bytes
|
Rev | Line | |
---|
[d565449] | 1 | var test = require('tape');
|
---|
| 2 | var equal = require('../');
|
---|
| 3 |
|
---|
| 4 | test('NaN and 0 values', function (t) {
|
---|
| 5 | t.ok(equal(NaN, NaN));
|
---|
| 6 | t.notOk(equal(0, NaN));
|
---|
| 7 | t.ok(equal(0, 0));
|
---|
| 8 | t.notOk(equal(0, 1));
|
---|
| 9 | t.end();
|
---|
| 10 | });
|
---|
| 11 |
|
---|
| 12 |
|
---|
| 13 | test('nested NaN values', function (t) {
|
---|
| 14 | t.ok(equal([ NaN, 1, NaN ], [ NaN, 1, NaN ]));
|
---|
| 15 | t.end();
|
---|
| 16 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.