rithm 14.6.0

Arbitrary precision arithmetic.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
from hypothesis import given

from tests.utils import IntWithBuiltin

from . import strategies


@given(strategies.ints_with_builtins)
def test_connection_with_builtin(int_with_builtin: IntWithBuiltin) -> None:
    int_, builtin_int = int_with_builtin

    assert int(int_) == builtin_int