code: def testFilteredIn(self):
      a = sc_pb.ResponseObservation(
          observation=sc_pb.Observation(
              feature_layer_data=spatial_pb2.ObservationFeatureLayer(
                  renders=spatial_pb2.FeatureLayers(
                      height_map=common_pb2.ImageData(
                          bits_per_pixel=32,
                          size=common_pb2.Size2DI(x=4, y=4),
                          data=np.array(
                              [
                                  [0, 0, 0, 0],
                                  [1, 0, 1, 0],
                                  [0, 0, 0, 1],
                                  [1, 1, 1, 1],
                              ],
                              dtype=np.int32,
                          ).tobytes(),
                      )
                  )
              )
          )
      )
      b = sc_pb.ResponseObservation(
          observation=sc_pb.Observation(
              feature_layer_data=spatial_pb2.ObservationFeatureLayer(
                  renders=spatial_pb2.FeatureLayers(
                      height_map=common_pb2.ImageData(
                          bits_per_pixel=32,
                          size=common_pb2.Size2DI(x=4, y=4),
                          data=np.array(
                              [
                                  [0, 0, 0, 0],
                                  [0, 1, 1, 0],
                                  [0, 0, 0, 1],
                                  [1, 1, 1, 0],
                              ],
                              dtype=np.int32,
                          ).tobytes(),
                      )
                  )
              )
          )
      )
  
      result = image_differencer.image_differencer(
          path=proto_diff.ProtoPath(
              (
                  "observation",
                  "feature_layer_data",
                  "renders",
                  "height_map",
                  "data",
              )
          ),
          proto_a=a,
          proto_b=b,
      )
  
      self.assertEqual(
          result,
          "3 element(s) changed - [1][0]: 1 -> 0; [1][1]: 0 -> 1; [3][3]: 1 -> 0",
      )
  
file_path: pysc2/pysc2/lib/image_differencer_test.py
imports: from absl.testing import absltest
  import numpy
  from pysc2.lib import image_differencer
  from pysc2.lib import proto_diff
  from s2clientprotocol import common_pb2
  from s2clientprotocol import sc2api_pb2
  from s2clientprotocol import spatial_pb2
label_desc: Use image node_id 2 for calling the ImageDifferencerTest obj's underlying member method code with example usage: obj.testFilteredIn() without return types