tests.size.named_test module

Tests for named methods of Range 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.DigitsConfigTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Test digits config.

testConfig()

Test some basic configurations.

testExceptions()

Test exceptions.

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

Bases: unittest.case.TestCase

Test some aspects of the getString() method.

testConfig()

Test properties of configuration.

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