Fork me on GitHub

pyhrf.test.graphtest module

class pyhrf.test.graphtest.GraphTest(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_bfs()
test_from_lattice1()

Test default behaviour of graph_from_lattice, in 2D

test_from_lattice2()

Test graph_from_lattice in 3D with another kernel mask

test_from_lattice_toro()

Test graph_from_lattice, 2D toroidal case

test_from_lattice_toro_huge()

Test graph_from_lattice, 2D toroidal case

test_from_mesh()
test_graph_is_sane()
test_parcels_to_graphs()
test_pyhrf_extract_cc_vol()
test_split_vol_cc_2D()
test_split_vol_cc_3D()
test_sub_graph()