#NEWLINE# def test_juxt_generator_input( ) : #NEWLINE# #INDENT# data = list ( range ( 10 ) ) #NEWLINE# juxtfunc = juxt ( ( itemgetter ( ( 2 * juxtfunc ) ) for i in range ( 5 ) ) ) #NEWLINE# assert ( tuple ( juxtfunc ( data ) ) == ( 0 , 2 , 4 , 6 , 8 ) ) #NEWLINE# assert ( tuple ( juxtfunc ( data ) ) == ( 0 , 2 , 4 , 6 , 8 ) )