micromagnetictests.get_tests#
- micromagnetictests.get_tests()#
Generator yielding all available test names.
- Returns:
Tests that can be imported from
micromagnetictests. The list consists of tuples, where the first element is the name of the tests, whereas the second element is the test object (function or class).- Return type:
Generator
Examples
Getting the list of available tests.
>>> import micromagnetictests as mt ... >>> list(mt.get_tests()) [...]