code: def test_logical_block_neighbors_on_edge(self):
      block = clique_block()
      block.logical_location = [1, 1]
  
      neighbors = block.get_location_neighbors(2)
      assertion.eq(2, len(neighbors))
      assertion.true([0, 1] in neighbors)
      assertion.true([1, 0] in neighbors)
  
      block.logical_location = [0, 0]
      neighbors = block.get_location_neighbors(2)
      assertion.eq(2, len(neighbors))
      assertion.true([0, 1] in neighbors)
      assertion.true([1, 0] in neighbors)
  
imports: import unittest
  import matplotlib
  from pyclustering.cluster.clique import clique_block
  from pyclustering.cluster.tests.clique_templates import clique_test_template
  from pyclustering.tests.assertion import assertion
  from pyclustering.samples.definitions import SIMPLE_SAMPLES, FCPS_SAMPLES
label_desc: Use image node_id 26 for calling the clique_unit_test obj's underlying member method code with example usage: obj.test_logical_block_neighbors_on_edge() without return types