Sha256: d7b564c960f0eac461eea5f7a50946337afec4d242d11dd40d777e30f31c15dd
Contents?: true
Size: 343 Bytes
Versions: 128
Compression:
Stored size: 343 Bytes
Contents
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(); });
Version data entries
128 entries across 128 versions & 12 rubygems