def helper_spatial_interpolation_test(interpolated_tforms: List[np.ndarray], start, end, expected_points):
    assert (len(interpolated_tforms) == expected_points)
    np.testing.assert_allclose(interpolated_tforms[0], start)
    np.testing.assert_allclose(interpolated_tforms[(- 1)], end)
def helper_spatial_interpolation_test(interpolated_tforms: List[np.ndarray], start, end, expected_points):
    assert (len(interpolated_tforms) == expected_points)
    np.testing.assert_allclose(interpolated_tforms[0], start)
    np.testing.assert_allclose(interpolated_tforms[(- 1)], end)