all files / algebra/src/ Boole.js

87.5% Statements 7/8
100% Branches 4/4
100% Functions 0/0
87.5% Lines 7/8
1 2 3 4 5 6 7 8 9 10 11 12 13     1846× 571× 30× 378× 578×        
var Boole = {
  zero: false,
  one: true,
  contains: (a) => (typeof a === 'boolean'),
  addition: (a, b) => (a || b),
  equality: (a, b) => (a === b),
  negation: (a) => (a),
  multiplication: (a, b) => (a && b),
  inversion: (a) => (a)
}
 
module.exports = Boole