code: def test_linear_search(self):
      array = [1, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 6, 6, 6]
      self.assertEqual(6, linear_search(array, 4))
      self.assertEqual(10, linear_search(array, 5))
      self.assertEqual(-1, linear_search(array, 7))
      self.assertEqual(-1, linear_search(array, -1))
  
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 5 for calling the TestSuite obj's underlying member method code with example usage: obj.test_linear_search() without return types