code: def test_softmax_sum_to_one():
      test = np.random.rand(10)
      assert np.allclose(np.sum(softmax(test)), 1.0, atol=0.001)
  
file_path: DESlib/deslib/tests/util/test_prob_functions.py
imports: import numpy
  import pytest
  from deslib.util.prob_functions import ccprmod, log_func, min_difference, softmax, exponential_func, entropy_func
label_desc: Use image node_id 5 for calling a global function with example usage: test_softmax_sum_to_one() without return types