def test_bool_symbol():
    'Test that mixing symbols with boolean values\n    works as expected'
    (A, B, C) = list(map(Boolean, symbols('A,B,C')))
    assert (And(A, True) == A)
    assert (And(A, True, True) == A)
    assert (And(A, False) == False)
    assert (And(A, True, False) == False)
    assert (Or(A, True) == True)
    assert (Or(A, False) == A)
Test that mixing symbols with boolean values
works as expected
def test_bool_symbol():
    'Test that mixing symbols with boolean values\n    works as expected'
    (A, B, C) = list(map(Boolean, symbols('A,B,C')))
    assert (And(A, True) == A)
    assert (And(A, True, True) == A)
    assert (And(A, False) == False)
    assert (And(A, True, False) == False)
    assert (Or(A, True) == True)
    assert (Or(A, False) == A)