code: def test_ones_small():
      np.testing.assert_equal(
          connected_components(tf.ones((3, 5), tf.bool)).numpy(),
          np.ones((3, 5)),
      )
  
file_path: addons/tensorflow_addons/image/tests/connected_components_test.py
imports: import pytest
  import logging
  import tensorflow
  import numpy
  from tensorflow_addons.image.connected_components import connected_components
label_desc: Use image node_id 8 for calling a global function with example usage: test_ones_small() without return types