Skip to content
Snippets Groups Projects
Commit 7aaca14f authored by Médéric Fourmy's avatar Médéric Fourmy
Browse files

FactorBlockDifference type modified, added gtests

parent 60916617
No related branches found
No related tags found
1 merge request!352WIP: Resolve "Some node_type_ renamings"
Pipeline #5094 passed
This commit is part of merge request !352. Comments created here will be created in the context of that merge request.
...@@ -66,6 +66,15 @@ class FixtureFactorBlockDifference : public testing::Test ...@@ -66,6 +66,15 @@ class FixtureFactorBlockDifference : public testing::Test
virtual void TearDown() override {} virtual void TearDown() override {}
}; };
TEST_F(FixtureFactorBlockDifference, CheckFactorType)
{
// Feat_->setMeasurement()
FactorBlockDifferencePtr Fac = FactorBase::emplace<FactorBlockDifference>(
Feat_, KF0_->getP(), KF1_->getP()
);
ASSERT_EQ(Fac->getType(), "FactorBlockDifference");
}
TEST_F(FixtureFactorBlockDifference, EqualP) TEST_F(FixtureFactorBlockDifference, EqualP)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment