code: def test_rebin_factor_divides(self):
      quantiles = np.array([0, 1, 2, 3, 4])
      cum_counts = np.array([0, 1, 2, 3, 4])
      (
          rebinned_quantiles,
          rebinned_counts,
      ) = quantiles_util.rebin_quantiles(quantiles, cum_counts, 2)
      np.testing.assert_equal(rebinned_quantiles, np.array([0, 2, 4]))
      np.testing.assert_equal(rebinned_counts, np.array([0, 2, 4]))
  
imports: from typing import List
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_data_validation.utils import quantiles_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 1 for calling the TestRebinQuantiles obj's underlying member method code with example usage: obj.test_rebin_factor_divides() without return types