every.js 248 B

123456789
  1. 'use strict';
  2. var Set = require('../../');
  3. module.exports = function (t, a) {
  4. a(t.call(new Set(), Boolean), true, "Empty set");
  5. a(t.call(new Set([2, 3, 4]), Boolean), true, "Truthy");
  6. a(t.call(new Set([2, 0, 4]), Boolean), false, "Falsy");
  7. };