def test_fetch_coords_dosenbach_2010(): bunch = atlas.fetch_coords_dosenbach_2010() assert_equal(len(bunch.rois), 160) assert_equal(len(bunch.labels), 160) assert_equal(len(np.unique(bunch.networks)), 6) assert_not_equal(bunch.description, '') np.testing.assert_array_equal(bunch.networks, np.sort(bunch.networks)) bunch = atlas.fetch_coords_dosenbach_2010(ordered_regions=False) assert_true(np.any(bunch.networks != np.sort(bunch.networks)))
def test_fetch_coords_dosenbach_2010(request_mocker): bunch = atlas.fetch_coords_dosenbach_2010() assert len(bunch.rois) == 160 assert len(bunch.labels) == 160 assert len(np.unique(bunch.networks)) == 6 assert bunch.description != '' np.testing.assert_array_equal(bunch.networks, np.sort(bunch.networks)) bunch = atlas.fetch_coords_dosenbach_2010(ordered_regions=False) assert np.any(bunch.networks != np.sort(bunch.networks))
def test_fetch_coords_dosenbach_2010(): bunch = atlas.fetch_coords_dosenbach_2010() assert_equal(len(bunch.rois), 160) assert_equal(len(bunch.labels), 160) assert_equal(len(np.unique(bunch.networks)), 6) assert_not_equal(bunch.description, '')