def test_single_quotes_outer (self): self.assertEqual(expand_region_handler.expand_to_quotes(self.string2, 1, 12), {"start": 0, "end": 13, "string": "'test string'", "type": "quotes"})
def test_single_quotes_inner (self): self.assertEqual(expand_region_handler.expand_to_quotes(self.string2, 6, 12), {"start": 1, "end": 12, "string": "test string", "type": "quotes"})
def test_double_quotes_outer (self): self.assertEqual(expand_region_handler.expand_to_quotes(self.string1, 1, 12), {"start": 0, "end": 13, "string": "\"test string\"", "type": "quotes"})
def test_single_quotes_outer (self): result = expand_region_handler.expand_to_quotes(self.string2, 1, 12); self.assertEqual(result["start"], 0) self.assertEqual(result["end"], 13) self.assertEqual(result["string"], "'test string'")
def test_single_quotes_inner (self): result = expand_region_handler.expand_to_quotes(self.string2, 6, 12); self.assertEqual(result["start"], 1) self.assertEqual(result["end"], 12) self.assertEqual(result["string"], "test string")
def test_double_quotes_outer (self): result = expand_region_handler.expand_to_quotes(self.string1, 1, 12); self.assertEqual(result["start"], 0) self.assertEqual(result["end"], 13) self.assertEqual(result["string"], "\"test string\"")