28#include "testing/testing.h"
62 EXPECT_LT(
error, 0.1);
65 double x = 9,
y = 40.0;
72 EXPECT_LT(
error, 0.1);
95 EXPECT_LT(
error, 0.1);
98 double x = 9.0,
y = 40.0;
104 LG <<
"Patch error: " <<
error;
105 EXPECT_LT(
error, 0.1);
127 EXPECT_LT(
error, 0.1);
146 EXPECT_LT(
error, 2.0);
168 EXPECT_LT(
error, 1.0);
192 EXPECT_LT(
error, 0.1);
SIMD_FORCE_INLINE btScalar norm() const
Return the norm (length) of the vector.
static void error(const char *str)
bool PredictMarkerPosition(const Tracks &tracks, const PredictDirection direction, Marker *marker)
static void AddMarker(int frame, float x, float y, Tracks *tracks)
TEST(PredictMarkerPosition, EasyLinearMotion)
Eigen::Matrix< T, 4, D > coordinates