def METHOD_NAME(origin_B, target_B, transform_B):
    matrices = compute_modelview_matrices(origin_B, target_B)
    camera_to_world, world_to_camera = matrices
    assert np.allclose(world_to_camera, transform_B)
    assert np.allclose(np.linalg.inv(world_to_camera), camera_to_world)