code: def test_round_preserving_sum():
      vec = np.array([1.1] * 10)
      ints = util.round_preserving_sum(vec)
      # Make sure one of ints is now 2 to preserve sum of 11
      assert np.any(ints == 2)
      assert sum(ints) == 11
  
imports: from cleanlab.internal import util
  import numpy
  import pytest
  from cleanlab.internal.label_quality_utils import get_normalized_entropy
  from cleanlab.internal.multilabel_utils import int2onehot, onehot2int
  from cleanlab.internal.util import num_unique_classes, format_labels, get_missing_classes
  from cleanlab.internal.validation import assert_valid_class_labels
label_desc: Use image node_id 8 for calling a global function with example usage: test_round_preserving_sum() without return types