var newUniqueFilter = require('../../../../lib/array/new_unique_filter');

exports['Filter a array to unique'] = function (test) {
    test.deepEqual(
        ['a', 1, 'a', 2, '1'].filter(newUniqueFilter()),
        ['a', 1, 2, '1']
    );
    test.done();
};