code: def testTranspositionPipelineOutOfRangeNotes(self):
      note_sequence = common_testing_lib.parse_test_proto(
          music_pb2.NoteSequence,
          """
          time_signatures: {
            numerator: 4
            denominator: 4}
          tempos: {
            qpm: 60}""",
      )
      tp = note_sequence_pipelines.TranspositionPipeline(
          range(-1, 2), min_pitch=0, max_pitch=12
      )
      testing_lib.add_track_to_sequence(
          note_sequence,
          0,
          [
              (10, 100, 1.0, 2.0),
              (12, 100, 2.0, 4.0),
              (13, 100, 4.0, 5.0),
          ],
      )
      transposed = tp.transform(note_sequence)
      self.assertLen(transposed, 1)
      self.assertLen(transposed[0].notes, 3)
      self.assertEqual(9, transposed[0].notes[0].pitch)
      self.assertEqual(11, transposed[0].notes[1].pitch)
      self.assertEqual(12, transposed[0].notes[2].pitch)
  
file_path: magenta/magenta/pipelines/note_sequence_pipelines_test.py
imports: from absl.testing import absltest
  from magenta.common import testing_lib
  from magenta.pipelines import note_sequence_pipelines
  from note_seq import sequences_lib
  from note_seq import testing_lib
  from note_seq.protobuf import music_pb2
label_desc: Use image node_id 8 for calling the PipelineUnitsCommonTest obj's underlying member method code with example usage: obj.testTranspositionPipelineOutOfRangeNotes() without return types