How to use the tape.notEqual function in tape

To help you get started, we’ve selected a few tape examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dfkaye / where.js / test / tape / node-suite.js View on Github external
var results = where(function () {
    /*** 
      leftInput |    b  |  andTheAnswerIs
        1000    |  1000 |  1000
         12     |    24 |  24
      451       |  2    |  4451
      4         |  8    |  7
    ***/
    
    tape.equal(Math.max(leftInput, b), andTheAnswerIs, 'max(leftInput, b)');

    // tape does not run the second assertion if the first one has failed.
    tape.notEqual(b, 2, 'b != 2');

    }, { tape: test, intercept: 1 });