code: def test_fundamental_matrix_forward(array_like_input):
      if array_like_input:
          rotation = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
          translation = (1, 0, 0)
      else:
          rotation = np.eye(3)
          translation = np.array([1, 0, 0])
      essential_matrix_tform = EssentialMatrixTransform(
          rotation=rotation, translation=translation
      )
      if array_like_input:
          params = [list(p) for p in essential_matrix_tform.params]
      else:
          params = essential_matrix_tform.params
      tform = FundamentalMatrixTransform(matrix=params)
      src = np.array([[0, 0], [0, 1], [1, 1]])
      assert_almost_equal(
          tform(src), [[0, -1, 0], [0, -1, 1], [0, -1, 1]]
      )
  
imports: import re
  import textwrap
  import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_equal
  from skimage.transform import AffineTransform, EssentialMatrixTransform, EuclideanTransform, FundamentalMatrixTransform, PiecewiseAffineTransform, PolynomialTransform, ProjectiveTransform, SimilarityTransform, estimate_transform, matrix_transform
  from skimage.transform._geometric import _GeometricTransform, _affine_matrix_from_vector, _center_and_normalize_points, _euler_rotation_matrix
label_desc: Use image node_id 15 for calling a global function with example usage: test_fundamental_matrix_forward(array_like_input) without return types