UNPKG

functionfoundry

Version:
11 lines (9 loc) 257 B
import test from 'tape' import error from '../src/error' import xor from '../src/xor' test('xor', (t) => { t.plan(3) t.equal( xor( true, false, false ), true) t.equal( xor( true, false, true ), false) t.equal( xor( false, false, false ), false) })