def f5(x0, x1, x2):
     return (sin(x0) + cos(x1) + tan(x2))
def test_sin_int():
    curr_func = sin(5)
    assert curr_func == -0.9589242746631385
def test_sin_ReverseADNode():
    x0 = ReverseADNode(2)
    curr_func = sin(x0**2)
    curr_func.grad_value = 1.0
    assert curr_func.value == -0.7568024953079282 and x0.grad(
    ) == -2.6145744834544478
def test_sin_frac():
    curr_func = sin(0.5)
    assert curr_func == 0.479425538604203