27 using namespace gtsam;
32 static const Point2 P(0.2, 0.7);
33 static const Rot2 R = Rot2::fromAngle(0.3);
34 static const double s = 4;
TEST(Similarity2, Concepts)
#define GTSAM_CONCEPT_ASSERT(concept)
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
Implementation of Similarity2 transform.
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Some functions to compute numerical derivatives.
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
Point2 translation() const
Return a GTSAM translation.
static const Point2 P(0.2, 0.7)
#define EXPECT(condition)
double scale() const
Return the scale.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Rot2 rotation() const
Return a GTSAM rotation.
#define GTSAM_CONCEPT_TESTABLE_INST(T)