Пример #1
0
def test_error2():
    assert Basic_Ops(130, 3, "suma") == b
Пример #2
0
def test_error3():
    assert Basic_Ops(8, 2, "division") == c
Пример #3
0
def test_error1():
    assert Basic_Ops(2.5, 3, "suma") == a
Пример #4
0
def test_OR():
    assert Basic_Ops(2, 0, "OR") == 2
Пример #5
0
def test_AND():
    assert Basic_Ops(2, 0, "AND") == 0
Пример #6
0
def test_resta():
    assert Basic_Ops(2, 2, "resta") == 0
Пример #7
0
def test_suma():
    assert Basic_Ops(2, 2, "suma") == 4