def test_mergextend():
 assert (mergextend(['a', 'b'], ['c', 'd']) == ['a', 'b'])
 assert (mergextend([], ['c', 'd']) == [])
 assert (mergextend(['a', 'b'], []) == ['a', 'b'])
 assert (mergextend([_ellipsis], ['c', 'd']) == ['c', 'd'])
 assert (mergextend([_ellipsis, 'b'], ['c', 'd']) == ['c', 'd', 'b'])
 assert (mergextend(['a', _ellipsis], ['c', 'd']) == ['a', 'c', 'd'])
 assert (mergextend(['a', _ellipsis, 'b'], ['c', 'd']) == ['a', 'c', 'd', 'b'])
 if (sys.version_info[0] >= 3):
  assert (eval("mergextend(['a', ..., 'b'], ['c', 'd'])") == ['a', 'c', 'd', 'b'])

def test_mergextend ( ) : assert ( mergextend ( [ 'a' , 'b' ] , [ 'c' , 'd' ] ) == [ 'a' , 'b' ] ) assert ( mergextend ( [ ] , [ 'c' , 'd' ] ) == [ ] ) assert ( mergextend ( [ 'a' , 'b' ] , [ ] ) == [ 'a' , 'b' ] ) assert ( mergextend ( [ _ellipsis ] , [ 'c' , 'd' ] ) == [ 'c' , 'd' ] ) assert ( mergextend ( [ _ellipsis , 'b' ] , [ 'c' , 'd' ] ) == [ 'c' , 'd' , 'b' ] ) assert ( mergextend ( [ 'a' , _ellipsis ] , [ 'c' , 'd' ] ) == [ 'a' , 'c' , 'd' ] ) assert ( mergextend ( [ 'a' , _ellipsis , 'b' ] , [ 'c' , 'd' ] ) == [ 'a' , 'c' , 'd' , 'b' ] ) if ( sys . version_info [ 0 ] >= 3 ) : assert ( eval ( "mergextend(['a', ..., 'b'], ['c', 'd'])" ) == [ 'a' , 'c' , 'd' , 'b' ] )
test mergextend function .