#NEWLINE# def test_sequence_merge( self ) : #NEWLINE# #INDENT# '\n        Ensure two sequences can be merged into one sequence\n        ' #NEWLINE# s1 = self . make_sequence ( ) #NEWLINE# s2 = self . make_sequence ( offset = 1 ) #NEWLINE# merged = ( s1 // s2 ) #NEWLINE# from sebastian.core import OFFSET_64 , MIDI_PITCH , DURATION_64 #NEWLINE# self . assertTrue ( merged . _elements , [ { #NEWLINE# #INDENT# MIDI_PITCH : 50 , #NEWLINE# OFFSET_64 : 16 , #NEWLINE# DURATION_64 : 17 , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# MIDI_PITCH : 51 , #NEWLINE# OFFSET_64 : 17 , #NEWLINE# DURATION_64 : 18 , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# MIDI_PITCH : 53 , #NEWLINE# OFFSET_64 : 19 , #NEWLINE# DURATION_64 : 20 , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# MIDI_PITCH : 54 , #NEWLINE# OFFSET_64 : 20 , #NEWLINE# DURATION_64 : 21 , #NEWLINE# #UNINDENT# } ] )