def METHOD_NAME(self):
    # Use Random input data and check that the beginning and the end 
    # are padded with the first and last values in the input vector.    
    x1 = [12, 2, 5, 6, 51, 45646, 614]         
    x2 = [6, 51, 45646, 614, 1, 14, 6 ,7]         
    x3 = [16, 51, 45, 41, 45, 51, 45, 4, 51, 45, 6, 46, 3]         
    y1= std.MedianFilter(kernelSize = 3)(x1)
    y2= std.MedianFilter(kernelSize = 5)(x2)
    y3= std.MedianFilter(kernelSize = 7)(x3)
    self.assertEqual(y1[0], x1[0])
    self.assertEqual(y1[len(x1)-1], x1[len(x1)-1])        
    self.assertEqual(y2[0], x2[0])
    self.assertEqual(y2[len(x2)-1], x2[len(x2)-1])            
    self.assertEqual(y3[0], x3[0])        
    self.assertEqual(y3[len(x3)-1], x3[len(x3)-1])                