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 No leading zeros in convert_from_int(value, to_base)
Test roundtrip from number in arbitrary base.