#NEWLINE# def test_chebyshev_u_precise( ) : #NEWLINE# #INDENT# ( x , w ) = gauss_chebyshev_u ( 3 , 40 ) #NEWLINE# assert ( [ str ( r ) for r in x ] == [ '0.7071067811865475244008443621048490392848' , '0' , '-0.7071067811865475244008443621048490392848' ] ) #NEWLINE# assert ( [ str ( r ) for r in w ] == [ '0.3926990816987241548078304229099378605246' , '0.7853981633974483096156608458198757210493' , '0.3926990816987241548078304229099378605246' ] )