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

Function TEST

test/ExpressionMath2_test.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30LOCAL_TEST_FUNCTOR1(powScalarBaseAD, pow(2.1, x))
31TEST(ExpressionsMath, powScalarBaseAD)
32{
33 mathTest_all(0.3, std::pow(2.1, 0.3), std::log(2.1) * std::pow(2.1, 0.3),
34 std::pow(2.1, 0.3) * std::log(2.1) * std::log(2.1), powScalarBaseAD);
35}
36
37LOCAL_TEST_FUNCTOR1(powScalarBaseExpr, pow(2.1, 2.3 * x))
38TEST(ExpressionsMath, powScalarBaseExpr)

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected