class_docstr: Test for the Iterative Segment Tree data structure
class_docstr_tok: ["Test","for","the","Iterative","Segment","Tree","data","structure"]
docstr: Test all possible segments in the tree
  :param arr: array to test
  :param fnc: function of the segment tpree
docstr_tok: ["Test","all","possible","segments","in","the","tree",":","param","arr",":","array","to","test",":","param","fnc",":","function","of","the","segment","tpree"]
code: def __test_all_segments(self, arr, fnc):
      """
      Test all possible segments in the tree
      :param arr: array to test
      :param fnc: function of the segment tpree
      """
      segment_tree = SegmentTree(arr, fnc)
      self.__test_segments_helper(segment_tree, fnc, arr)
  
file_path: keon-algos/tests/test_iterative_segment_tree.py
imports: from algorithms.tree.segment_tree.iterative_segment_tree import SegmentTree
  from functools import reduce
  import unittest
label_desc: Use image node_id 10 for calling the TestSegmentTree obj's underlying member method code with example usage: obj.__test_all_segments(arr, fnc) without return types