Tests for operations on Range objects.
Bases: unittest.case.TestCase
Test addition.
Test addition.
Any non-size other raises an exception.
Bases: unittest.case.TestCase
Verify that distributive property holds.
Assert associativity across sizes.
Assert distributivity across numbers.
Assert distributivity across sizes.
Bases: unittest.case.TestCase
Test divmod.
Test divmod with a number.
Test divmod with a size.
Test that exceptions are thrown.
Bases: unittest.case.TestCase
Test floordiv.
Test that exceptions are thrown.
Test floordiv with a number.
Test floordiv with a size.
Bases: unittest.case.TestCase
Test mod.
Test that exceptions are thrown.
Test mod with a number.
Test mod with a size.
Bases: unittest.case.TestCase
Test multiplication.
Range others are unrepresentable.
Test multiplication.
Bases: unittest.case.TestCase
Test rdivmod.
Test that exceptions are thrown.
Test divmod with a size.
Bases: unittest.case.TestCase
Test rfloordiv.
Test that exceptions are thrown.
Test floordiv with a size.
Bases: unittest.case.TestCase
Test rmod.
Test that exceptions are thrown.
Test rmod with a size.
Bases: unittest.case.TestCase
Test rsub.
Any non-size other raises an exception.
Test __rsub__.
Bases: unittest.case.TestCase
Test rtruediv.
Test that exceptions are thrown.
Test truediv with a size.
Bases: unittest.case.TestCase
Test subtraction.
Any non-size other raises an exception.
Test subtraction.
Bases: unittest.case.TestCase
Test truediv.
Test that exceptions are thrown.
Test truediv with a number.
Test truediv with a size.
Bases: unittest.case.TestCase
Test unary operators.
Test absolute value.
Test that hash has the necessary property for hash table lookup.
Test negation.
Test positive.
Bases: unittest.case.TestCase
Test operator methods and other methods with an ‘_’.
Test binary operators with a boolean result.
Test binary operators with a possible Range result.
Test miscellaneous non-operator methods.
Test unary operators.