Tests for behavior of Range objects.
Bases: unittest.case.TestCase
Test setting configuration for computation.
Get current config.
Reset configuration to default.
Test that error is raised on fractional bytes when EXACT is True.
Bases: unittest.case.TestCase
Test setting configuration for display.
Get current config.
Reset configuration to default.
Behavior when deviation from whole value is small.
Test str with various configuration options.
Bases: unittest.case.TestCase
Test construction of Range objects.
Test error checking in constructo.
Test creating Range with Fraction.
Test construction of negative sizes.
Test construction w/ no units specified.
Test construction with 0 as decimal.
Bases: unittest.case.TestCase
Test formatting Range for display.
Test that exceptions are properly raised on bad params.
Test behavior on min_value parameter.
Test that second part is B when rounding to bytes.
Test binary_units param.
Test construction of display components.