예제 #1
0
def test_indirect_too_large_an_integer(address):
    with raises(ValueError):
        parse_indirect_operand({address})
예제 #2
0
def test_indirect_wrong_type_raises_type_error():
    with raises(TypeError):
        parse_indirect_operand({"a string"})
예제 #3
0
def test_indirect_negative_integer(address):
    with raises(ValueError):
        parse_indirect_operand({address})