#NEWLINE# def test_translation_from_list( ) : #NEWLINE# #INDENT# t_a = Translation ( [ 3 , 4 ] ) #NEWLINE# t_b = Translation ( np . array ( [ 3 , 4 ] ) ) #NEWLINE# assert np . all ( ( t_b . h_matrix == t_b . h_matrix ) )