def test_get_trunk_section_lengths(self): _close(_nrn.trunk_section_lengths(self.sec_nrn), get('trunk_section_lengths', self.ref_nrn)) for t in NeuriteType: _close(_nrn.trunk_section_lengths(self.sec_nrn, neurite_type=t), get('trunk_section_lengths', self.ref_nrn, neurite_type=t))
def test_trunk_section_lengths(): ret = _nf.trunk_section_lengths(SIMPLE) nt.eq_(ret, [5.0, 4.0])
def test_trunk_section_lengths(): ret = _nf.trunk_section_lengths(SIMPLE) assert ret == [5.0, 4.0]