You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
426 B
18 lines
426 B
'use strict'; |
|
|
|
var equal = require('../index'); |
|
var tests = require('./tests'); |
|
var assert = require('assert'); |
|
|
|
|
|
describe('equal', function() { |
|
tests.forEach(function (suite) { |
|
describe(suite.description, function() { |
|
suite.tests.forEach(function (test) { |
|
it(test.description, function() { |
|
assert.strictEqual(equal(test.value1, test.value2), test.equal); |
|
}); |
|
}); |
|
}); |
|
}); |
|
});
|
|
|