def binary_to_integer(test_tup):
    binary_string = ''.join(str(bit) for bit in test_tup)
    return int(binary_string, 2)