Test utilities.
Build a well-formed nat strategy from base.
Builds a nat and its base. :param int max_base: the maximum base :param int max_len: the maximum number of digits in the nat
| Returns: | a strategy from which can be drawn a pair, a nat and its base |
|---|
Build a nat with a base and also a valid carry in value. :param int max_base: the maximum base :param int max_len: the maximum number of digits in the nat
| Returns: | a strategy from which is drawn a triple, nat, base, carry-in |
|---|
Build a precision value.
| Parameters: |
|---|
May return None, which means no precision specified.
Build a well-formed Radix strategy.
| Parameters: |
|---|
Build a sign value.
Build a sign value.