23 using namespace gtsam;
38 Vector actual1 = sampler1.sample();
static int runAllTests(TestResult &result)
noiseModel::Diagonal::shared_ptr model
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
#define EXPECT(condition)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
sampling from a NoiseModel
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
static const Vector3 kSigmas(1.0, 0.1, 0.0)
#define EXPECT_LONGS_EQUAL(expected, actual)
static shared_ptr Sigmas(const Vector &sigmas, bool smart=true)
TEST(LPInitSolver, InfiniteLoopSingleVar)
Vector sample() const
sample from distribution