#NEWLINE# def test_new_dimension( self ) : #NEWLINE# #INDENT# m = GrowingLILMatrix ( ) #NEWLINE# self . assertEqual ( m . shape , ( 0 , 0 ) ) #NEWLINE# m . add_row ( self . get_random_with_zeros ( 5 ) ) #NEWLINE# self . assertEqual ( self . shape , ( 1 , 5 ) ) #NEWLINE# m . add_row ( self . get_random_with_zeros ( 6 ) ) #NEWLINE# self . assertEqual ( m . shape , ( 2 , 6 ) ) #NEWLINE# m . add_row ( self . get_random_with_zeros ( 6 ) ) #NEWLINE# self . assertEqual ( m . shape , ( 3 , 6 ) )