def test_hseq_subseq(self):
        from sebastian.core import HSeq
        from sebastian.core import MIDI_PITCH, DURATION_64
        s1 = HSeq([
            {MIDI_PITCH: 50, DURATION_64: 10},
            {MIDI_PITCH: 51, DURATION_64: 10},
            {MIDI_PITCH: 52, DURATION_64: 10},
            {MIDI_PITCH: 53, DURATION_64: 10}
        ])

        s2 = s1.subseq(20, 40)
        self.assertEqual(s2, HSeq([
            {MIDI_PITCH: 51, DURATION_64: 10},
            {MIDI_PITCH: 52, DURATION_64: 10},
        ]))
Ensure that two sequences can be zipped together, unifying its points.
dataset/ETHPy150Open jtauber/sebastian/tests/test_sequences.py/TestSequences.test_hseq_subseq