def test_basic_sequence_zip(self):
        from sebastian.core import HSeq
        from sebastian.core import MIDI_PITCH, DURATION_64
        s1 = HSeq([
            {MIDI_PITCH: 50},
            {MIDI_PITCH: 51},
            {MIDI_PITCH: 53},
            {MIDI_PITCH: 54}
        ])
        s2 = HSeq([
            {DURATION_64: 17},
            {DURATION_64: 18},
            {DURATION_64: 20},
            {DURATION_64: 21}
        ])

        s_zipped = s1 & s2
        self.assertEqual(s_zipped, HSeq([
            {MIDI_PITCH: 50, DURATION_64: 17},
            {MIDI_PITCH: 51, DURATION_64: 18},
            {MIDI_PITCH: 53, DURATION_64: 20},
            {MIDI_PITCH: 54, DURATION_64: 21}
        ]))
Ensure that two sequences can be zipped together, unifying its points.
dataset/ETHPy150Open jtauber/sebastian/tests/test_sequences.py/TestSequences.test_basic_sequence_zip