statmechcrack.tests.test_examples

A module for testing examples within docstrings.

This module checks all other modules in the package and ensures that the examples within each docstring are executed properly and obtain the expected output.

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

Bases: TestCase

Class to test examples within docstrings.

_classSetupFailed = False
_class_cleanups = []
main()[source]

Main function for module-level testing functionality.

test_docstring_examples()[source]

Function to test examples within docstrings.