<s> from nose . tools import assert_equal <EOL> class TestHeight ( object ) : <EOL> def test_height ( self ) : <EOL> root = Node ( <NUM_LIT:5> ) <EOL> assert_equal ( height ( root ) , <NUM_LIT:1> ) <EOL> insert ( root , <NUM_LIT:2> ) <EOL> insert ( root , <NUM_LIT:8> ) <EOL> insert ( root , <NUM_LIT:1> ) <EOL> insert ( root , <NUM_LIT:3> ) <EOL> assert_equal ( height ( root ) , <NUM_LIT:3> ) <EOL> print ( '<STR_LIT>' ) <EOL> def main ( ) : <EOL> test = TestHeight ( ) <EOL> test . test_height ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
