def setUp(self):
        """Runs before every test case"""
        StatCounter.reset_counts()
        # sub classes can change the following default settings
        self.use_fast_heapify = False  # the default setting

        # set max number of childre that will be tested
        self.max_num_children = DEFAULT_MAX_NUM_CHILDREN_TO_TEST

        # Most tests will change num_children before running
        # set to 2 as a simple default
        self.num_children = 2
 def setUp(self):
     """This runs before each test case"""
     StatCounter.reset_counts()
Esempio n. 3
0
 def setUp(self):
     """Runs before every test case"""
     StatCounter.reset_counts()