def METHOD_NAME(self, A, B, normalize, expected):
    """Test that the calculated inner product is as expected."""
    assert expected == pytest.approx(fn.frobenius_inner_product(A, B, normalize=normalize))