def test_section_term_lengths(): term_lengths = list(_nf.section_term_lengths(SIMPLE)) assert_allclose(term_lengths, (5., 6., 6., 5.))