Пример #1
0
def test_integer_min_value2():
    bits = Integer.min_value().bits
    assert Integer.min_value().sign == Bit(True)
    for bit in bits:
        assert bit == Bit(True)
Пример #2
0
def test_integer_min_value1():
    assert Integer.min_value() == Integer(str(-(2**(Integer.bit_len - 1) - 1)))