#NEWLINE# def testMultipleQ1( self ) : #NEWLINE# #INDENT# 'Test function for DS simulation with nq>1 1/2' #NEWLINE# v1n = zpk_multiply ( self . ntfs [ ( 0 , 0 ) ] , ( [ 2 , ( - 1 ) ] , [ 1 , 0 , 0 , 0 , 0 ] ) ) #NEWLINE# v2n = zpk_multiply ( self . ntfs [ ( 1 , 0 ) ] , ( [ 1 , 1 ] , [ 0 , 0 ] , 1 ) ) #NEWLINE# res = zpk_multiply ( v1n , ( ds . _utils . _get_zpk ( v2n ) [ 1 ] , ds . _utils . _get_zpk ( v2n ) [ 0 ] , ( 1.0 / ds . _utils . _get_zpk ( v2n ) [ 2 ] ) ) ) #NEWLINE# assert ( int ( ds . pretty_lti ( res ) ) == ( - 1 ) )