code: def test_get_contractions(self):
      self.assertTrue(
          ([[1, 3]], ["cannot"])
          == swap_ins._get_contractions(["I", "can", "'t", "do"])
      )
      self.assertEqual(
          ([[0, 2]], ["I am"]),
          swap_ins._get_contractions(["I", "'m", "'a", "student"]),
      )
      self.assertEqual(([], []), swap_ins._get_contractions([]))
  
imports: import unittest
  from textflint.input.component.sample import SASample
  from textflint.generation.transformation.UT.contraction import Contraction
label_desc: Use image node_id 1 for calling the TestContraction obj's underlying member method code with example usage: obj.test_get_contractions() without return types