TestGeneralAlmost

class tests.general.test_general.TestGeneralAlmost(methodName='runTest')[source]
__init__(methodName='runTest')

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

Methods

Methods

test_four_numbers()

Test almost() with four string numbers

test_four_numbers_pt1tolerance()

Test almost() with four string numbers and 0.1 tolerance

test_two_numbers()

Test almost() with two Decimal numbers

test_two_numbers_fail_kwarg()

Test almost() with two string numbers and fail=True kwarg

test_two_numbers_pt1tolerance()

Test almost() with two string numbers and 0.1 tolerance

test_two_numbers_test_kwarg()

Test almost() with two string numbers and test=True kwarg

Attributes

Attributes