def METHOD_NAME(self) -> None:
    x = expected = torch.tensor(1)
    actual = rearrange(x, '->')
    torch.testing.assert_close(actual, expected)
    actual = rearrange(x, '... -> ...')
    torch.testing.assert_close(actual, expected)