import torch

import beignet


def test_legendre_polynomial_one():
    torch.testing.assert_close(
        beignet.legendre_polynomial_one,
        torch.tensor([1.0]),
        check_dtype=False,
    )
