1 | ;
|
2 |
|
3 | var equal = require('../index');
|
4 | var tests = require('./tests');
|
5 | var assert = require('assert');
|
6 |
|
7 |
|
8 | describe('equal', function() {
|
9 | tests.forEach(function (suite) {
|
10 | describe(suite.description, function() {
|
11 | suite.tests.forEach(function (test) {
|
12 | it(test.description, function() {
|
13 | assert.strictEqual(equal(test.value1, test.value2), test.equal);
|
14 | });
|
15 | });
|
16 | });
|
17 | });
|
18 | });
|