-
Notifications
You must be signed in to change notification settings - Fork 146
/
test.py
executable file
·27 lines (24 loc) · 1.09 KB
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""Run all the test cases in examples/diffusion/
"""
from __future__ import unicode_literals
from fipy.tests.doctestPlus import _LateImportDocTestSuite
import fipy.tests.testProgram
def _suite():
return _LateImportDocTestSuite(testModuleNames = (
'steadyState.test',
'explicit.test',
'nthOrder.test'
),
docTestModuleNames = (
'mesh1D',
'mesh20x20',
'circle',
'circleQuad',
'electrostatics',
'variable',
'anisotropy',
'mesh20x20Coupled'
),
base = __name__)
if __name__ == '__main__':
fipy.tests.testProgram.main(defaultTest='_suite')