| Home | Trees | Index | Help |
|---|
| Package esys :: Package escript :: Module test_util |
|
Test suite for the util.py module.
The tests must be linked with a function space class object in the setUp method:
to run the use:
from esys.bruce import Brick
class Test_utilOnBruce(Test_util_no_tagged_data):
def setUp(self):
self.domain = Brick(10,10,13)
self.functionspace = ContinuousFunction(self.domain)
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(Test_utilOnBruce))
unittest.TextTestRunner(verbosity=2).run(suite)
For function spaces which support tagging there is the extended test case Test_util_with_tagged_data available.
This test assumes that samples with x_0 coordinate 0 are tagged with 1 and all samples tagged with 1 have x_0
coordinate 0.
@note: at this stage this test will not pass as it tests for functionlity that has not been implemented yet. It also does not test the full functionalitu of util.py yet.
@var __author__: name of author
@var __copyright__: copyrights
@var __license__: licence agreement
@var __url__: url entry point on documentation
@var __version__: version
@var __date__: date of the version
| Classes | |
|---|---|
Test_util |
all tests |
Test_util_binary |
test for all binary operation |
Test_util_binary_still_failing |
these binary opereations still fail! (see Mantis 0000053) |
Test_util_no_tagged_data |
all tests without tagged data |
Test_util_overloaded_binary |
test for all overloaded operation |
Test_util_overloaded_binary_still_failing |
these overloaded operations still fail! |
Test_util_reduction |
test for reduction operation Lsup,sup,inf for all data types |
Test_util_unary |
all unary tests |
Test_util_with_tagged_data |
test for all operations without tagged data |
| Variable Summary | |
|---|---|
str |
__author__ = 'Lutz Gross, l.gross@uq.edu.au'
|
str |
__copyright__ = ' Copyright (c) 2006 by ACcESS MNRF\n ...
|
str |
__date__ = '$Date: 2006-03-23 20:55:31 +1000 (Thu, 23 Ma...
|
str |
__license__ = 'Licensed under the Open Software License ...
|
str |
__url__ = 'http://www.iservo.edu.au/esys/escript'
|
str |
__version__ = '$Revision: 637 $'
|
function |
ContinuousFunction = <Boost.Python.function object at 0x...
|
function |
DiracDeltaFunction = <Boost.Python.function object at 0x...
|
function |
Function = <Boost.Python.function object at 0x81b2c70>
|
function |
FunctionOnBoundary = <Boost.Python.function object at 0x...
|
function |
FunctionOnContactOne = <Boost.Python.function object at ...
|
function |
FunctionOnContactZero = <Boost.Python.function object at...
|
function |
getNumberOfThreads = <Boost.Python.function object at 0x...
|
function |
ReducedSolution = <Boost.Python.function object at 0x81b...
|
function |
Scalar = <Boost.Python.function object at 0x81b2df8>
|
function |
setNumberOfThreads = <Boost.Python.function object at 0x...
|
function |
Solution = <Boost.Python.function object at 0x81b2d50>
|
function |
Tensor = <Boost.Python.function object at 0x81b2e68>
|
function |
Tensor3 = <Boost.Python.function object at 0x81b2ea0>
|
function |
Tensor4 = <Boost.Python.function object at 0x81b2ed8>
|
function |
Vector = <Boost.Python.function object at 0x81b2e30>
|
| Variable Details |
|---|
__author__
|
__copyright__
|
__date__
|
__license__
|
__url__
|
__version__
|
ContinuousFunction
|
DiracDeltaFunction
|
Function
|
FunctionOnBoundary
|
FunctionOnContactOne
|
FunctionOnContactZero
|
getNumberOfThreads
|
ReducedSolution
|
Scalar
|
setNumberOfThreads
|
Solution
|
Tensor
|
Tensor3
|
Tensor4
|
Vector
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Apr 27 11:16:18 2006 | http://epydoc.sf.net |