1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 12:10:34 +00:00

Fix tests

This commit is contained in:
Carles Fernandez 2017-07-11 11:56:54 +02:00
parent 39253893d4
commit d89be37c4a
2 changed files with 2 additions and 0 deletions

View File

@ -292,6 +292,7 @@ TEST_F(GalileoE1PcpsAmbiguousAcquisitionGSoCTest, ValidationOfResults)
ASSERT_NO_THROW( {
start_queue();
acquisition->set_local_code();
acquisition->init();
acquisition->reset();
acquisition->set_state(1);

View File

@ -257,6 +257,7 @@ TEST_F(GpsL2MPcpsAcquisitionTest, ValidationOfResults)
ASSERT_NO_THROW( {
acquisition->set_local_code();
acquisition->set_state(1); // Ensure that acquisition starts at the first sample
acquisition->init();
}) << "Failure set_state and init acquisition test" << std::endl;