예제 #1
0
def test_n_leaves():
    nt.assert_equal(_nf.n_leaves(SIMPLE.neurites[0]), 2)
    nt.assert_equal(_nf.n_leaves(SIMPLE.neurites[1]), 2)
    nt.assert_equal(_nf.n_leaves(SIMPLE.neurites), 4)
예제 #2
0
def test_n_leaves():
    assert _nf.n_leaves(SIMPLE.neurites[0]) == 2
    assert _nf.n_leaves(SIMPLE.neurites[1]) == 2
    assert _nf.n_leaves(SIMPLE.neurites) == 4