def test_even(self): things = [ True, True, False, False, False, ] assert not bools.xor(*things)
def test_even(self): things = [ True, True, False, False, False, ] T.assert_equal(bools.xor(*things), False)
def test_odd(self): things = [ True, True, True, False, False, False, False, ] assert bools.xor(*things)
def test_even(self): things = [True, True, False, False, False] assert not bools.xor(*things)
def test_odd(self): things = [True, True, True, False, False, False, False] assert bools.xor(*things)