def test_find_maximum_left_linear_bumps(self): test_max_left = [8, 8, 9, 9, 9, 9, 9, 9, 9] result = area.find_maximum_left_linear(self.wshaped_array) self.assertEquals(test_max_left, result)
def test_find_maximum_left_linear_spike(self): test_max_left = [5, 6, 7, 10, 12, 12, 12, 12, 12] result = area.find_maximum_left_linear(self.lshaped_array) self.assertEquals(test_max_left, result)
def test_find_maximum_left_linear_basic(self): test_max_left = [10, 10, 10, 10, 10, 10, 10, 10] result = area.find_maximum_left_linear(self.ushaped_array) self.assertEquals(test_max_left, result)