示例#1
0
def test_n_rectangles_neuron():

    nt.assert_equal(dm._n_rectangles(NEURON), 16)
示例#2
0
def test_n_rectangles_other():

    nt.assert_equal(dm._n_rectangles('I am unique.'), 0)
示例#3
0
def test_n_rectangles_tree():

    nt.assert_equal(dm._n_rectangles(TREE), 5)