MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / TEST

Function TEST

libraries/AP_Math/tests/test_sqrt_controller.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 } while (false);
12
13TEST(control, SqrtController2f)
14{
15 // a zero-length error gets a zero-length response:
16 Vector2f zero;
17 EXPECT_VECTOR2F_EQ(zero, sqrt_controller(zero, 17, 18, 0.01));
18}
19
20TEST(control, InvSqrtControllerIsActuallyInverse)
21{

Callers

nothing calls this directly

Calls 2

sqrt_controllerFunction · 0.85
inv_sqrt_controllerFunction · 0.85

Tested by

no test coverage detected