code: def test_search_range(self):
      array = [5, 7, 7, 8, 8, 8, 10]
      self.assertEqual([3, 5], search_range(array, 8))
      self.assertEqual([1, 2], search_range(array, 7))
      self.assertEqual([-1, -1], search_range(array, 11))
  
      array = [5, 7, 7, 7, 7, 8, 8, 8, 8, 10]
      self.assertEqual([5, 8], search_range(array, 8))
      self.assertEqual([1, 4], search_range(array, 7))
      self.assertEqual([-1, -1], search_range(array, 11))
  
file_path: keon-algos/tests/test_search.py
imports: from algorithms.search import binary_search, binary_search_recur, ternary_search, first_occurrence, last_occurrence, linear_search, search_insert, two_sum, two_sum1, two_sum2, search_range, find_min_rotate, find_min_rotate_recur, search_rotate, search_rotate_recur, jump_search, next_greatest_letter, next_greatest_letter_v1, next_greatest_letter_v2, interpolation_search
  import unittest
label_desc: Use image node_id 8 for calling the TestSuite obj's underlying member method code with example usage: obj.test_search_range() without return types