code: def test_linear_pos_gt_small_middle():
      # Arrange
      middle = 1 - 1e-11
      pos = 1 - 1e-12
  
      # Act
      ret = GimpGradientFile.linear(middle, pos)
  
      # Assert
      assert ret == 1.0
  
file_path: pillow-simd/Tests/test_file_gimpgradient.py
imports: from PIL import GimpGradientFile, ImagePalette
label_desc: Use image node_id 4 for calling a global function with example usage: test_linear_pos_gt_small_middle() without return types