mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-16 05:00:35 +00:00
Update test name
This commit is contained in:
parent
c9ae4affc9
commit
1fc9592736
@ -351,23 +351,10 @@ TEST(GNSSBlockFactoryTest, InstantiateGpsL1CaObservables)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
TEST(GNSSBlockFactoryTest, InstantiateRTKLIBPvt)
|
||||||
|
|
||||||
TEST(GNSSBlockFactoryTest, InstantiatePvt)
|
|
||||||
{
|
{
|
||||||
std::shared_ptr<InMemoryConfiguration> configuration = std::make_shared<InMemoryConfiguration>();
|
std::shared_ptr<InMemoryConfiguration> configuration = std::make_shared<InMemoryConfiguration>();
|
||||||
configuration->set_property("PVT.implementation", "Pass_Through");
|
configuration->set_property("PVT.implementation", "RTKLIB_PVT");
|
||||||
std::unique_ptr<GNSSBlockFactory> factory;
|
|
||||||
auto pvt_ = factory->GetPVT(configuration);
|
|
||||||
EXPECT_STREQ("PVT", pvt_->role().c_str());
|
|
||||||
EXPECT_STREQ("Pass_Through", pvt_->implementation().c_str());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
TEST(GNSSBlockFactoryTest, InstantiateGpsL1CaPvt)
|
|
||||||
{
|
|
||||||
std::shared_ptr<InMemoryConfiguration> configuration = std::make_shared<InMemoryConfiguration>();
|
|
||||||
configuration->set_property("PVT.implementation", "Hybrid_PVT");
|
|
||||||
std::unique_ptr<GNSSBlockFactory> factory;
|
std::unique_ptr<GNSSBlockFactory> factory;
|
||||||
std::shared_ptr<GNSSBlockInterface> pvt_ = factory->GetPVT(configuration);
|
std::shared_ptr<GNSSBlockInterface> pvt_ = factory->GetPVT(configuration);
|
||||||
std::shared_ptr<PvtInterface> pvt = std::dynamic_pointer_cast<PvtInterface>(pvt_);
|
std::shared_ptr<PvtInterface> pvt = std::dynamic_pointer_cast<PvtInterface>(pvt_);
|
||||||
|
Loading…
Reference in New Issue
Block a user