Fork me on GitHub

pyhrf.test.toolsTest module

class pyhrf.test.toolsTest.CachedEvalTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_code_digest()
test_simple()
test_simple_args()
test_slow_func()
class pyhrf.test.toolsTest.CartesianTest(methodName='runTest')

Bases: unittest.case.TestCase

testCartesianBasic()
test_cartesian_apply()
test_cartesian_apply_parallel()
class pyhrf.test.toolsTest.CropTest(methodName='runTest')

Bases: unittest.case.TestCase

testBasic()
class pyhrf.test.toolsTest.DiagBlockTest(methodName='runTest')

Bases: unittest.case.TestCase

testAll2D()
testFrom1D()
testFromNdarray()
testRepFrom1D()
testRepFrom2D()
testRepFromBlocks()
class pyhrf.test.toolsTest.DictToStringTest(methodName='runTest')

Bases: unittest.case.TestCase

testBasic()
testOnHierachicDict()
testOnNumpyArray()
testOnSpmMat()
class pyhrf.test.toolsTest.GeometryTest(methodName='runTest')

Bases: unittest.case.TestCase

test_convex_hull()
test_distance()
class pyhrf.test.toolsTest.MiscTest(methodName='runTest')

Bases: unittest.case.TestCase

test_decorator_do_if_file_exist()
test_decorator_do_if_file_exist2()
test_decorator_do_if_file_exist_force()
class pyhrf.test.toolsTest.PeelVolumeTest(methodName='runTest')

Bases: unittest.case.TestCase

testPeel()
class pyhrf.test.toolsTest.PipelineTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

testBadDepTreeInit()
testGoodDepTreeInit()
testRepr()
test_cached()
test_func_default_args()
test_multiple_output_values()
class pyhrf.test.toolsTest.ResampleTest(methodName='runTest')

Bases: unittest.case.TestCase

testLargerTargetGrid()
testResampleToGrid()
class pyhrf.test.toolsTest.TableStringTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test1Darray()
test2Darray()
test2Darray_latex()
test3Darray()
test4Darray()
pyhrf.test.toolsTest.computeB(a, e)
pyhrf.test.toolsTest.computeC(a)
pyhrf.test.toolsTest.computeD(f, b, c)
pyhrf.test.toolsTest.computeF(g, e)
pyhrf.test.toolsTest.computeJ(i, l)
pyhrf.test.toolsTest.computeK(j)
pyhrf.test.toolsTest.computeL(k)
pyhrf.test.toolsTest.foo(a, b, c=1, d=2)
pyhrf.test.toolsTest.foo_a(c=1)
pyhrf.test.toolsTest.foo_default_arg(a, d=1)
pyhrf.test.toolsTest.foo_func(a, b)
pyhrf.test.toolsTest.foo_multiple_returns(e)
pyhrf.test.toolsTest.slow_func(a, b)
class pyhrf.test.toolsTest.treeToolsTest(methodName='runTest')

Bases: unittest.case.TestCase

test_get_leaf()
test_rearrange()
test_set_leaf()
test_stack_trees()
test_walk_branches()