code: def testBinarySearch(
      self, word_counts, lower, upper, delta, expected_vocab, params
  ):
      vocab = learner.learn_binary_search(
          word_counts, lower, upper, params
      )
      self.assertAlmostEqual(len(vocab), params.vocab_size, delta=delta)
      self.assertLessEqual(len(vocab), params.vocab_size)
      self.assertEqual(vocab, expected_vocab)
  
imports: import collections
  import logging
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.ops.ragged import ragged_string_ops
  from tensorflow_text.tools.wordpiece_vocab import wordpiece_tokenizer_learner_lib
label_desc: Use image node_id 1 for calling the LearnBinarySearchTest obj's underlying member method code with example usage: obj.testBinarySearch(word_counts, lower, upper, delta, expected_vocab, params) without return types