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:
343 bytes
|
Line | |
---|
1 | var test = require('tape');
|
---|
2 | var equal = require('../');
|
---|
3 |
|
---|
4 | test('0 values', function (t) {
|
---|
5 | t.ok(equal( 0, 0), ' 0 === 0');
|
---|
6 | t.ok(equal( 0, +0), ' 0 === +0');
|
---|
7 | t.ok(equal(+0, +0), '+0 === +0');
|
---|
8 | t.ok(equal(-0, -0), '-0 === -0');
|
---|
9 |
|
---|
10 | t.notOk(equal(-0, 0), '-0 !== 0');
|
---|
11 | t.notOk(equal(-0, +0), '-0 !== +0');
|
---|
12 |
|
---|
13 | t.end();
|
---|
14 | });
|
---|
15 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.