|  | @@ -82,6 +82,22 @@ class TestGeneral(unittest.TestCase):
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          print(found)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    def test_case_2(self):
 | 
	
		
			
				|  |  | +        pre = [
 | 
	
		
			
				|  |  | +            6,4,4,3,4,4,6,2,10,8,16,9,6,5,16,3,6,7,12,
 | 
	
		
			
				|  |  | +            2,6,6,2,6,6,6,2,2,10,3,4,2,4,6,8,6,6,8,2,2,
 | 
	
		
			
				|  |  | +            2,4,9,2,4,6,2,3,4,4,12,4,2,28,8,6,6,8,9,2
 | 
	
		
			
				|  |  | +        ]
 | 
	
		
			
				|  |  | +        values = [
 | 
	
		
			
				|  |  | +            {'timestamp': index, 'confidence': x} for index, x in enumerate(pre)
 | 
	
		
			
				|  |  | +        ]
 | 
	
		
			
				|  |  | +        found = find_repetitions(values,
 | 
	
		
			
				|  |  | +            calibration={
 | 
	
		
			
				|  |  | +                'threshold': 25,
 | 
	
		
			
				|  |  | +                'fallTolerance': 1,
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        )
 | 
	
		
			
				|  |  | +        self.assertEqual(found, [])
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if __name__ == '__main__':
 | 
	
		
			
				|  |  |      unittest.main()
 |