Test for integer conversions.
Bases: unittest.case.TestCase
Tests for ints.
Test carry_in.
Parameters: | strategy – the strategy (tuple of value, carry, base) |
---|
Test throwing exception.
convert_to_int(convert_from_int(value, to_base), 10) == value
Test roundtrip from number in arbitrary base.