Share and Money Management 0.18devel
Public Member Functions | List of all members
tests.test_math.TestMath Class Reference

Test mathematical functions out of smm.math. More...

Inheritance diagram for tests.test_math.TestMath:

Public Member Functions

def setUp (self)
 Initialise parts of SMM only. More...
 
def test_gcd (self)
 Test greatest common divisor. More...
 
def test_round_and_remove_exponent (self)
 Test rounding and removal of exponential notation. More...
 

Detailed Description

Test mathematical functions out of smm.math.

Member Function Documentation

◆ setUp()

def tests.test_math.TestMath.setUp (   self)

Initialise parts of SMM only.

◆ test_gcd()

def tests.test_math.TestMath.test_gcd (   self)

Test greatest common divisor.

References smm.math.gcd().

Here is the call graph for this function:

◆ test_round_and_remove_exponent()

def tests.test_math.TestMath.test_round_and_remove_exponent (   self)

Test rounding and removal of exponential notation.

References smm.math.round_and_remove_exponent().

Here is the call graph for this function:

The documentation for this class was generated from the following file: