tests.size.named_test module

Tests for named methods of Size objects.

class tests.size.named_test.ComponentsTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Test components method.

testResults()

Test component results.

class tests.size.named_test.ConversionTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Test conversion methods.

testException()

Test exceptions.

testPrecision()

Test precision of conversion.

class tests.size.named_test.RoundingTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Test rounding methods.

testBounds()

Test that result is between the specified bounds, assuming that the bounds are legal.

testExceptions()

Test raising exceptions when rounding.

testResults()

Test roundTo results.

Previous topic

tests.size.initializer_test module

Next topic

tests.size.operations_test module

This Page