예제 #1
0
 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)
예제 #2
0
 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)
예제 #3
0
 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)