docstr: ...Test interval assignment
          
docstr_tok: ["...","Test","interval","assignment"]
code: def test_assign_interval(self):
      """...Test interval assignment"""
      n_cuts = 3
      binarizer = FeaturesBinarizer(
          method="quantile",
          n_cuts=n_cuts,
          detect_column_type="column_names",
          remove_first=False,
      )
  
      for i, expected_interval in enumerate(
          self.default_expected_intervals.T
      ):
          feature_name = self.columns[i]
          features_i = self.features[:, i]
          interval = binarizer._assign_interval(
              feature_name, features_i, fit=True
          )
          np.testing.assert_array_equal(expected_interval, interval)
  
file_path: tick/tick/preprocessing/tests/features_binarizer_test.py
imports: import unittest
  import numpy
  import pandas
  from sklearn.preprocessing import OneHotEncoder
  from scipy.sparse import csr
  from tick.preprocessing.features_binarizer import FeaturesBinarizer
label_desc: Use image node_id 5 for calling the Test obj's underlying member method code with example usage: obj.test_assign_interval() without return types