fluidsim.util.testing
Utilities for the unittests (fluidsim.util.testing
)
This module extends the functionalities provide by the unittest standard library. It enforces matplotlib to use its Agg backend, thereby smoothly executing plotting tests without window pop-ups. It is also useful to execute this module to run FluidSim unittests, without going into the source directory for eg. when it is installed through pip.
Functions
|
|
|
Classes
|
|
|
|
|
A test case which makes it easy to test for energy and enstrophy conservation. |
|
A test case with methods to easily test for the output modules. |
|
A combination of property and classmethod. |