Skip to content
Snippets Groups Projects

Resolve "observation_tests"

Merged Pep Martí Saumell requested to merge 6-observation_tests into devel
1 file
+ 11
1
Compare changes
  • Side-by-side
  • Inline
@@ -93,9 +93,19 @@ TEST(ObservationsTest, GetObservationByIdx)
@@ -93,9 +93,19 @@ TEST(ObservationsTest, GetObservationByIdx)
}
}
}
}
TEST()
TEST(ObservationsTest, data)
{
{
 
loadRinex();
 
 
Observations observations;
 
observations.loadFromRinex(rnx_file.c_str(), t_start, t_end, dt, opt);
 
 
for (int ii = 0; ii < obs.n; ++ii)
 
{
 
// We do this check like this because both loading functions load the rinex file and then sort the observations
 
ASSERT_TRUE(equalObservations(obs.data[ii], observations.data()[ii]));
 
}
}
}
int main(int argc, char** argv)
int main(int argc, char** argv)
Loading