예제 #1
0
 def test_get_height_2(self):
     root = Tree(2)
     root.set_left(3)
     assert root.get_height() == 2
예제 #2
0
 def test_get_height_1(self):
     root = Tree(2)
     assert root.get_height() == 1