#NEWLINE# def test_same_shape_on_1D( self ) : #NEWLINE# #INDENT# a = np . random . random ( ( 3 , ) ) #NEWLINE# norm = normalize_sum ( a , axis = 0 ) #NEWLINE# self . assertTrue ( np . alltrue ( ( a . shape == norm . shape ) ) )