#NEWLINE# def test_cholesky_solve( ) : #NEWLINE# #INDENT# ( x , y , z ) = ( Dummy ( 'x' ) , Dummy ( 'y' ) , Dummy ( 'z' ) ) #NEWLINE# assert ( cholesky_solve ( [ [ QQ ( 25 ) , QQ ( 15 ) , QQ ( ( - 5 ) ) ] , [ QQ ( 15 ) , QQ ( 18 ) , QQ ( 0 ) ] , [ QQ ( ( - 5 ) ) , QQ ( 0 ) , QQ ( 11 ) ] ] , [ [ x ] , [ y ] , [ z ] ] , [ [ QQ ( 2 ) ] , [ QQ ( 3 ) ] , [ QQ ( 1 ) ] ] , QQ ) == [ [ QQ ( ( - 1 ) , 225 ) ] , [ QQ ( 23 , 135 ) ] , [ QQ ( 4 , 45 ) ] ] )