pyraliddemo.tests.test_example

UNIT TESTS FOR EXAMPLE SUBPACKAGE.

This module contains unit tests for the example subpackage.

class ClassesTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test case for classes module.

setUp()[source]

Set test parameter values.

tearDown()[source]

Unset test parameter values.

test_luminosity()[source]

Test pyraliddemo.example.classes.StefBoltz.luminosity method.

See also

pyraliddemo.example.classes.StefBoltz

Implementation of the StefBoltz class.

class HelloTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test case for hello module.

setUp()[source]

Set test parameter values.

tearDown()[source]

Unset test parameter values.

test_hello_world()[source]

Test pyraliddemo.example.hello.hello_world function.

See also

pyraliddemo.example.hello.hello_world

Implementation of the hello_world function.

class MathTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test case for math module.

setUp()[source]

Set test parameter values.

tearDown()[source]

Unset test parameter values.

test_add_two_ints()[source]

Test pyraliddemo.example.math.add_two_ints function.

See also

pyraliddemo.example.math.test_add_two_ints

Implementation of the test_add_two_ints function.

test_drake_equation()[source]

Test pyraliddemo.example.math.drake_equation function.

See also

pyraliddemo.example.math.drake_equation

Implementation of the drake_equation function.

test_mad()[source]

Test pyraliddemo.example.math.mad function.

See also

pyraliddemo.example.math.mad

Implementation of the mad function.

test_add_two_float()[source]

Test pyraliddemo.example.math.add_two_floats function.

See also

pyraliddemo.example.math.test_add_two_floats

Implementation of the test_add_two_floats function.