MCPcopy Create free account
hub / github.com/auto-differentiation/xad / TEST

Function TEST

test/ExpressionMath3_test.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30LOCAL_TEST_FUNCTOR2(nextafterADAD, nextafter(x1, x2))
31TEST(ExpressionsMath, nextafterADAD)
32{
33 mathTest2_all(0.1, 0.2, std::nextafter(0.1, 0.2), 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, nextafterADAD);
34 mathTest2_all(-0.1, -0.2, std::nextafter(-0.1, -0.2), 1.0, 0.0, 0.0, 0.0, 0.0, 0.0,
35 nextafterADAD);
36}
37
38LOCAL_TEST_FUNCTOR2(nextafterADExpr, nextafter(x1, 2.3 * x2))
39TEST(ExpressionsMath, nextafterADExpr)

Callers

nothing calls this directly

Calls 7

mathTest2_allFunction · 0.85
mathTest_allFunction · 0.85
mathTest2_all_aadFunction · 0.85
mathTest_all_aadFunction · 0.85
valueFunction · 0.85

Tested by

no test coverage detected