Fork me on GitHub

pyhrf.test.test_ndarray module

class pyhrf.test.test_ndarray.TestHtml(methodName='runTest')

Bases: unittest.case.TestCase

assert_html_equal(html, expected)
setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_plot()
test_table_header()
test_txt_1d_col_axes_only()
test_txt_1d_row_axes_only()
test_txt_tooltip()
class pyhrf.test.test_ndarray.xndarrayTest(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_cartesian_eval()

Test the multiple evaluations of a function that returns a xndarray, over the cartesian products of given arguments.

test_combine_domains()
test_equality()
test_expansion()
test_explode()
test_fill()

TODO

test_flatten_and_expand()
test_init()
test_merge()

TODO !!!

test_operations()
test_save_as_gii()
test_save_as_nii()
test_set_orientation()
test_split()
test_squeeze()
test_stack()
test_sub_cuboid()
test_sub_cuboid_with_float_domain()
test_to_latex_1d()
test_to_latex_3d()
test_to_latex_3d_col_align()
test_to_latex_3d_hide_name_style()
test_to_latex_3d_inner_axes()
test_to_latex_3d_join_style()
test_tree_to_xndarray()
test_unstack_2D()
test_unstack_empty_inner_axes()
test_xmapping()
test_xmapping_inconsistent_domain()
test_xmapping_inconsistent_mapping_value()