code: def test_entropy_func_three_classes():
      n_classes = 3
      supports = np.array(
          [[0.33, 0.33, 0.33], [1.0, 0.0, 0.0], [1.0, 0.0, 0.0]]
      )
      is_correct = np.array([0, 1, 0])
      expected = [0.0, 1.0, -1.0]
      result = entropy_func(n_classes, supports, is_correct)
      assert np.isclose(result, expected, atol=0.01).all()
  
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 14 for calling a global function with example usage: test_entropy_func_three_classes() without return types