UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

16 lines (11 loc) 343 B
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(); });