Test for rational conversions.
Bases: unittest.case.TestCase
Tests for radix.
Test == operator.
Test exceptions.
Test that roundtrip is identity.
Test conversion to current base.
Test != operator.
Test that comparsion operators yield exceptions.
Skip validation and canonicalization.
Repeat part is made up of repeating parts.
Make sure that __str__ executes.
Bases: unittest.case.TestCase
Tests for rounding Radixes.
Test equivalence with two paths.
Require conversion, but do not carry out of repeating_part. Ensure that the intermediate result is exactly the required precision.
Test exception.
Test 5/8 in base 3.
Require conversion, but do not carry out of repeating_part.
Ensure that there is no tie breaker.
Test 1/2 in base 3.
Ensure that rounding causes overflow.
Test that rounding yields the correct number of digits.
Test that rounded values are in a good range.
Test that all results have the correct relation.