def test_Nor():
    (A, B, C) = list(map(Boolean, symbols('A,B,C')))
    assert (Nor() == True)
    assert (Nor(A) == (~ A))
    assert (Nor(True) == False)
    assert (Nor(False) == True)
    assert (Nor(True, True) == False)
    assert (Nor(True, False) == False)
    assert (Nor(False, False) == True)
    assert (Nor(True, A) == False)
    assert (Nor(False, A) == (~ A))
    assert (Nor(True, True, True) == False)
    assert (Nor(True, True, A) == False)
    assert (Nor(True, False, A) == False)
def test_Nor():
    (A, B, C) = list(map(Boolean, symbols('A,B,C')))
    assert (Nor() == True)
    assert (Nor(A) == (~ A))
    assert (Nor(True) == False)
    assert (Nor(False) == True)
    assert (Nor(True, True) == False)
    assert (Nor(True, False) == False)
    assert (Nor(False, False) == True)
    assert (Nor(True, A) == False)
    assert (Nor(False, A) == (~ A))
    assert (Nor(True, True, True) == False)
    assert (Nor(True, True, A) == False)
    assert (Nor(True, False, A) == False)